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

OnLostFocus() private method

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

Usage Example

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