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.RemoveOnKeyPress

Removes the given handler for the "OnKeyPress" event. If there are duplicate entries, ALL are removed.

[Visual Basic]
Public Sub RemoveOnKeyPress( _
   ByVal handler As KeyPressEventHandler _
)
[C#]
public void RemoveOnKeyPress(
   KeyPressEventHandler handler
);
[C++]
public: void RemoveOnKeyPress(
   KeyPressEventHandler* handler
);
[JScript]
public function RemoveOnKeyPress(
   handler : KeyPressEventHandler
);

Parameters

handler
Event handler to be removed.

See Also

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