Пример #1
0
 protected virtual void OnKeyChanged(SetKeyEventArgs e)
 {
     if (this.KeyChanged != null)                // nothing subscribed to this event
     {
         this.KeyChanged(this, e);
     }
 }
Пример #2
0
		//------------------------------   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);
		}