C# Class ThoNohT.NohBoard.Forms.KeyStyleForm

Datei anzeigen Open project: ThoNohT/NohBoard Class Usage Examples

Public Methods

Method Description
KeyStyleForm ( KeyStyle initialStyle, KeyStyle defaultStyle ) : System

Initializes a new instance of the KeyStyleForm class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

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

Accepts the current style.

CancelButton2_Click ( object sender, EventArgs e ) : void

Cancels the current style, reverting to the initial style.

InitializeComponent ( ) : void

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

KeyStyleForm_Load ( object sender, EventArgs e ) : void

Loads the form, setting the controls to the initial style.

chkOverwriteLoose_CheckedChanged ( object sender, EventArgs e ) : void

Toggles the overwriting of the default style for loose keys.

chkOverwritePressed_CheckedChanged ( object sender, EventArgs e ) : void

Toggles the overwriting of the default style for pressed keys.

looseKeys_SubStyleChanged ( Keyboard style ) : void

Handles change of the loose style, sets the new style and invokes the changed event.

pressedKeys_SubStyleChanged ( Keyboard style ) : void

Handles change of the pressed style, sets the new style and invokes the changed event.

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

KeyStyleForm() public method

Initializes a new instance of the KeyStyleForm class.
public KeyStyleForm ( KeyStyle initialStyle, KeyStyle defaultStyle ) : System
initialStyle KeyStyle The initial style.
defaultStyle KeyStyle The default style to revert to when the override checkbox is unchecked.
return System