C# Class ThoNohT.NohBoard.Forms.LoadKeyboardForm

Datei anzeigen Open project: ThoNohT/NohBoard Class Usage Examples

Private Properties

Property Type Description
CategoryCombo_SelectedIndexChanged void
CloseButton_Click void
DefinitionsList_SelectedIndexChanged void
InitializeComponent void
LoadKeyboardForm_Load void
LoadLegacyButton_Click void
LoadStyles void
PopulateKeyboards void
StyleList_SelectedIndexChanged void
mnuDeleteDefinition_Click void

Public Methods

Method Description
LoadKeyboardForm ( ) : System.Collections.Generic

Initializes a new instance of the LoadKeyboardForm class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

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

Handles a selection change in the category combo, re-populates the list of keyboards and styles.

CloseButton_Click ( object sender, System e ) : void

Closes the form.

DefinitionsList_SelectedIndexChanged ( object sender, System e ) : void

Handles a selection change in the definition list, re-populates the styles list for this definition. Loads the definition in the main form.

InitializeComponent ( ) : void

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

LoadKeyboardForm_Load ( object sender, System e ) : void

Loads the keyboard form, filling the controls with the found categories, definitions and styles.

LoadLegacyButton_Click ( object sender, System e ) : void

Loads a legacy keyboard definition. This immediately closes the form and loads it in the main form.

LoadStyles ( ) : void

Populates the list of styles for the currently selected keyboard definition.

PopulateKeyboards ( ) : void

Populates the list of keyboards, for the currently selected category.

StyleList_SelectedIndexChanged ( object sender, System e ) : void

Handles a selection change in the styles list, loading that style in the main form.

mnuDeleteDefinition_Click ( object sender, System e ) : void

Deletes the selected keyboard definition and all of its styles. Re-initializes the form to clear the style from the lists.

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

LoadKeyboardForm() public method

Initializes a new instance of the LoadKeyboardForm class.
public LoadKeyboardForm ( ) : System.Collections.Generic
return System.Collections.Generic