C# Class ThoNohT.NohBoard.Forms.KeyboardStyleForm

The form used to change a keyboard's global style.
Inheritance: System.Windows.Forms.Form
Datei anzeigen Open project: ThoNohT/NohBoard Class Usage Examples

Public Methods

Method Description
KeyboardStyleForm ( KeyboardStyle initialStyle ) : System.Windows.Forms

Initializes a new instance of the KeyboardStyleForm class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AcceptButton2_Click ( object sender, System e ) : void

Accepts the current style.

CancelButton2_Click ( object sender, System e ) : void

Cancels the current style, reverting to the initial style.

Control_ColorChanged ( ColorChooser sender, System color ) : void

Handles the change of a color changed control, which is the background color control, updating the style.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

KeyboardStyleForm_Load ( object sender, System e ) : void

Loads the form, filling the controls with the initial style.

defaultMouseSpeed_IndicatorStyleChanged ( Keyboard style ) : void

Handles the change of the default style for mouse speed indicators. Sets the new styles and invokes the changed event.

looseKeys_SubStyleChanged ( Keyboard style ) : void

Handles the change of the default style for loose keys. Sets the new styles and invokes the changed event.

pressedKeys_SubStyleChanged ( Keyboard style ) : void

Handles the change of the default style for pressed keys. Sets the new styles and invokes the changed event.

txtBackgoundImage_TextChanged ( object sender, System e ) : void

Handles the text changed event of the background image textbox.

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

KeyboardStyleForm() public method

Initializes a new instance of the KeyboardStyleForm class.
public KeyboardStyleForm ( KeyboardStyle initialStyle ) : System.Windows.Forms
initialStyle ThoNohT.NohBoard.Keyboard.KeyboardStyle The initial style.
return System.Windows.Forms