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




e
A System.Windows.Forms.KeyEventArgs that contains event data.
e
A System.Windows.Forms.KeyEventArgs that contains event data.
Changes the value that is in the NumericTextBox when the UP ARROW key or the DOWN ARROW key are pressed.

Syntax

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

Parameters

e
A System.Windows.Forms.KeyEventArgs that contains event data.

Remarks

It increases the value by one if the up key is pressed. It decreases the value by one for if the down key is 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