NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Control.AddOnGotFocus

Adds an event handler for the gotFocus event. The gotFocus event occurs when the this control gains focus.

[Visual Basic]
Overridable Public Sub AddOnGotFocus( _
   ByVal handler As EventHandler _
)
[C#]
public virtual void AddOnGotFocus(
   EventHandler handler
);
[C++]
public: virtual void AddOnGotFocus(
   EventHandler* handler
);
[JScript]
public function AddOnGotFocus(
   handler : EventHandler
);

Parameters

handler
New handler to install for this event.

See Also

Control Class | Control Members | System.WinForms Namespace | RemoveOnGotFocus