Пример #1
0
 /// <summary>
 /// Invokes the LoseFocus event.
 /// </summary>
 internal void TakeFocus()
 {
     if (LoseFocus != null)
     {
         LoseFocus.Invoke();
     }
 }
Пример #2
0
 void OnKillFocusCallBack(ref Message m)
 {
     if (LoseFocus != null)
     {
         LoseFocus.Invoke(this);
     }
 }
Пример #3
0
 void OnNCLButtonDownCallBack(ref Message m)
 {
     if (m.WParam.ToInt32() == HTCAPTION)
     {
         if (LoseFocus != null)
         {
             LoseFocus.Invoke(this);
         }
     }
 }