Adds an event handler for the leave event. The leave event occurs when focus leaves this control. This doesn't imply that this control lost focus, but rather that focus has been moved out of this control and any child controls.
[Visual Basic] Overridable Public Sub AddOnLeave( _ ByVal handler As EventHandler _ ) [C#] public virtual void AddOnLeave( EventHandler handler ); [C++] public: virtual void AddOnLeave( EventHandler* handler ); [JScript] public function AddOnLeave( handler : EventHandler );
Control Class | Control Members | System.WinForms Namespace | RemoveOnLeave