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

Inheriting classes should override this method to handle this event. Call base.OnKeyPress to send this event to any registered event listeners.

[Visual Basic]
Overridable Protected Sub OnKeyPress( _
   ByVal e As KeyPressEventArgs _
)
[C#]
protected virtual void OnKeyPress(
   KeyPressEventArgs e
);
[C++]
protected: virtual void OnKeyPress(
   KeyPressEventArgs* e
);
[JScript]
protected function OnKeyPress(
   e : KeyPressEventArgs
);

Parameters

e
event

See Also

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