C# Class ThoNohT.NohBoard.Forms.SettingsForm

The settings form.
Inheritance: System.Windows.Forms.Form
Datei anzeigen Open project: ThoNohT/NohBoard Class Usage Examples

Public Methods

Method Description
SettingsForm ( ) : System.Windows.Forms

Initializes a new instance of the SettingsForm class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

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

OkButton_Click ( object sender, System e ) : void

Handles clicking of the OK button, the new settings are applied and saved and the form is closed.

SetToolTips ( ) : void

Sets the tooltips for the settings controls.

SettingsForm_Load ( object sender, System e ) : void

Handles the loading of the settings form, all control values are set.

txtToggleKey_DoubleClick ( object sender, System e ) : void

Sets the capturing state for the trap hotkey. Any key pressed will be the hotkey.

txtToggleKey_KeyUp ( object sender, KeyEventArgs e ) : void

Handles the setting of a new trap hotkey, if we are capturing, the pressed key is stored and the capturing state is removed.

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

SettingsForm() public method

Initializes a new instance of the SettingsForm class.
public SettingsForm ( ) : System.Windows.Forms
return System.Windows.Forms