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);

            }

        }
原文地址:https://www.cnblogs.com/xh0626/p/5936054.html