DevExpress.Utils.ToolTipLocation

  private void textBox1_TextChanged(object sender, EventArgs e)
        {
            if ((sender as TextBox).Text.Length == 0)
            {
                DevExpress.Utils.ToolTipLocation tipLocation = new DevExpress.Utils.ToolTipLocation();
                toolTipController1.ShowHint("不能为空", textBox1, ToolTipLocation.RightCenter);

            }

        }

 

posted @ 2016-10-07 15:32  刀小爱  阅读(353)  评论(0编辑  收藏  举报