Exemple #1
0
 private void txtPwd_SkinTxt_TextChanged(object sender, EventArgs e)
 {
     if (txtPwd.Text != string.Empty)
     {
         ToolTipEx.CloseToolTip();
     }
 }
Exemple #2
0
 protected override void WndProc(ref Message m)
 {
     //处理鼠标点击事件,关闭tooltip
     if (m.Msg == CCWin.Win32.Const.WM.WM_LBUTTONDOWN || m.Msg == CCWin.Win32.Const.WM.WM_RBUTTONDOWN)
     {
         ToolTipEx.CloseToolTip();
     }
     base.WndProc(ref m);
 }