LEADTOOLS Medical (Leadtools.Medical.Workstation assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
OnKeyPress Method
See Also 
Leadtools.Medical.Workstation.UI Namespace > NumericTextBox Class : OnKeyPress Method




e
A System.Windows.Forms.KeyPressEventArgs that contains event data for the key that was pressed.
e
A System.Windows.Forms.KeyPressEventArgs that contains event data for the key that was pressed.
Occurs when a key is pressed.

Syntax

Visual Basic (Declaration) 
Overrides Protected Sub OnKeyPress( _
   ByVal e As KeyPressEventArgs _
) 
Visual Basic (Usage)Copy Code
Dim instance As NumericTextBox
Dim e As KeyPressEventArgs
 
instance.OnKeyPress(e)
C# 
protected override void OnKeyPress( 
   KeyPressEventArgs e
)
Managed Extensions for C++ 
protected: void OnKeyPress( 
   KeyPressEventArgs* e
) override 
C++/CLI 
protected:
void OnKeyPress( 
   KeyPressEventArgs^ e
) override 

Parameters

e
A System.Windows.Forms.KeyPressEventArgs that contains event data for the key that was pressed.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also