System.Windows.Forms.Control.OnGotFocus C# (CSharp) Method

OnGotFocus() private method

private OnGotFocus ( EventArgs e ) : void
e System.EventArgs
return void
		protected virtual void OnGotFocus(EventArgs e) {
			EventHandler eh = (EventHandler)(Events [GotFocusEvent]);
			if (eh != null)
				eh (this, e);
		}

Usage Example

Example #1
0
 protected void InvokeGotFocus(Control toInvoke, EventArgs e)
 {
     if (toInvoke == null)
     {
         return;
     }
     toInvoke.OnGotFocus(e);
 }
All Usage Examples Of System.Windows.Forms.Control::OnGotFocus
Control