protected virtual void OnKeyEvent(KeyPadEventArgs e) { if (this.KeyEvent != null) { this.KeyEvent(this, e); } }
private void Keypad_KeyEvent(object sender, KeyPadEventArgs e) { System.Diagnostics.Debug.WriteLine(string.Format("Key = {0}, Event Type = {1}", e.KeyValue, e.KeyDownEventType)); }