C# Class NiceHashMiner.TextBoxKeyPressEvents

Show file Open project: nicehash/NiceHashMiner

Public Methods

Method Description
textBoxDoubleOnly_KeyPress ( object sender, KeyPressEventArgs e ) : void
textBoxIntsOnly_KeyPress ( object sender, KeyPressEventArgs e ) : void

Private Methods

Method Description
IsHandleZero ( KeyPressEventArgs e, string checkText ) : bool
doubleInvalid ( char c ) : bool

Method Details

textBoxDoubleOnly_KeyPress() public static method

public static textBoxDoubleOnly_KeyPress ( object sender, KeyPressEventArgs e ) : void
sender object
e System.Windows.Forms.KeyPressEventArgs
return void

textBoxIntsOnly_KeyPress() public static method

public static textBoxIntsOnly_KeyPress ( object sender, KeyPressEventArgs e ) : void
sender object
e System.Windows.Forms.KeyPressEventArgs
return void