protected virtual void OnKeyChanged(SetKeyEventArgs e) { if (this.KeyChanged != null) // nothing subscribed to this event { this.KeyChanged(this, e); } }
//------------------------------ events form ---------------------------------------------------------- private void HandleKey(object sender, SetKeyEventArgs e) // HandleKeyChange for exif form { int kVal = e.kValue; bool alt = e.alt; bool ctrl = e.ctrl; KDown(kVal, ctrl, alt); }