TextboxExtrasHandleInputAsFloat Method |
quick handle for floats - Connect to keyboard-keypress event. Pass in KeyChar, and make the return value = e.Handled
Namespace: ANDREICSLIB.ClassExtrasAssembly: ANDREICSLIB (in ANDREICSLIB.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static bool HandleInputAsFloat(
char keyChar,
Control c
)
Public Shared Function HandleInputAsFloat (
keyChar As Char,
c As Control
) As Boolean
public:
static bool HandleInputAsFloat(
wchar_t keyChar,
Control^ c
)
static member HandleInputAsFloat :
keyChar : char *
c : Control -> bool
Parameters
- keyChar
- Type: SystemChar
- c
- Type: System.Windows.FormsControl
e.KeyChar
Return Value
Type:
Booleane.Handled
See Also