Adds an event handler for the enter event. The enter event occurs when focus enters this control. This doesn't imply that this control has focus, but rather that this control or some child control of this control has gotten focus.
[Visual Basic] Overridable Public Sub AddOnEnter( _ ByVal handler As EventHandler _ ) [C#] public virtual void AddOnEnter( EventHandler handler ); [C++] public: virtual void AddOnEnter( EventHandler* handler ); [JScript] public function AddOnEnter( handler : EventHandler );
Control Class | Control Members | System.WinForms Namespace | RemoveOnEnter