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