예제 #1
0
 /// <summary>
 /// Perform key down handling.
 /// </summary>
 /// <param name="e">A KeyEventArgs that contains the event data.</param>
 public virtual void KeyDown(KeyEventArgs e)
 {
     // Tell current view of key event
     if (ActiveView != null)
     {
         ActiveView.KeyDown(e);
     }
     else if (_root != null)
     {
         _root.KeyDown(e);
     }
 }