C# Class ThoNohT.NohBoard.Forms.MouseSpeedStyleForm

Datei anzeigen Open project: ThoNohT/NohBoard Class Usage Examples

Public Methods

Method Description
MouseSpeedStyleForm ( MouseSpeedIndicatorStyle initialStyle, MouseSpeedIndicatorStyle defaultStyle ) : System

Initializes a new instance of the MouseSpeedStyleForm 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.

MouseSpeedStyleForm_Load ( object sender, EventArgs e ) : void

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

chkOverwrite_CheckedChanged ( object sender, EventArgs e ) : void

Toggles the overwriting of the default style.

defaultMouseSpeed_IndicatorStyleChanged ( MouseSpeedIndicatorStyle style ) : void

Handles change of the 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

MouseSpeedStyleForm() public method

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