public KeyUp ( |
||
e | A KeyEventArgs that contains the event data. | |
return | void |
public virtual void KeyUp(KeyEventArgs e)
{
// Tell current view of key event
if (ActiveView != null)
MouseCaptured = ActiveView.KeyUp(e);
else if (_root != null)
MouseCaptured = _root.KeyUp(e);
}
/// <summary> /// Raises the KeyUp event. /// </summary> /// <param name="e">A KeyEventArgs that contains the event data.</param> protected override void OnKeyUp(KeyEventArgs e) { // Cannot process a message for a disposed control if (!IsDisposed) { // Do we have a manager for processing key messages? ViewManager?.KeyUp(e); } // Let base class fire events base.OnKeyUp(e); }