System.Windows.Forms.Control.OnGotFocus C# (CSharp) Метод

OnGotFocus() приватный Метод

private OnGotFocus ( EventArgs e ) : void
e System.EventArgs
Результат void
		protected virtual void OnGotFocus(EventArgs e) {
			EventHandler eh = (EventHandler)(Events [GotFocusEvent]);
			if (eh != null)
				eh (this, e);
		}

Usage 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