Exemplo n.º 1
0
 public void ProcessKeyDown(KeyEventArgs eventArgs)
 {
     if (fActiveControl != null)
     {
         if (KeyPreview)
         {
             DoKeyDownEvent(eventArgs);
         }
         fActiveControl.ProcessKeyDown(eventArgs);
     }
     else
     {
         if (Enabled)
         {
             DoKeyDownEvent(eventArgs);
         }
     }
 }