C# Класс ACAT.Extensions.Default.UI.Dialogs.MouseGridSettingsForm

Наследование: System.Windows.Forms.Form, IDialogPanel
Показать файл Открыть проект

Открытые методы

Метод Описание
MouseGridSettingsForm ( ) : System

Initializes a new instance of the class.

OnButtonActuated ( ACAT.Lib.Core.WidgetManagement.Widget widget ) : void

Invoked when a widget is actuated

OnPause ( ) : void

Pauses the scanner

OnResume ( ) : void

Resumes paused scanner

OnRunCommand ( string command, bool &handled ) : void

Not used

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnFormClosing ( FormClosingEventArgs e ) : void

Form closing. Release resources

Приватные методы

Метод Описание
InitializeComponent ( ) : void

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

MouseGridSettingsForm_FormClosing ( object sender, FormClosingEventArgs e ) : void

Form is closing. Release resources

MouseGridSettingsForm_Load ( object sender, EventArgs e ) : void

Form has been loaded. Initialize

WndProc ( Message &m ) : void
getSettingsFromUI ( ) : ACAT.Lib.Extension.ACATPreferences

Updates settings based on the values set by the user in the form. Returns a ACATPreferences object with the new values.

initWidgetSettings ( ACAT.Lib.Extension.ACATPreferences prefs ) : void

Sets the state of all the controls based on the settings in the prefs parameter

loadDefaultSettings ( ) : void

Restores default settings from the preferences file

quit ( ) : void

If dirty, confirm with user and then quit

saveSettingsAndQuit ( ) : void

Saves settings and close the dialog. Confirms with the user first

subscribeToEvents ( ) : void

Subscribes to all the events triggered by the widgets and the interpreter

widget_EvtValueChanged ( object sender, WidgetEventArgs e ) : void

User changed something on the form. Sets the dirty flag

Описание методов

Dispose() защищенный метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

MouseGridSettingsForm() публичный метод

Initializes a new instance of the class.
public MouseGridSettingsForm ( ) : System
Результат System

OnButtonActuated() публичный метод

Invoked when a widget is actuated
public OnButtonActuated ( ACAT.Lib.Core.WidgetManagement.Widget widget ) : void
widget ACAT.Lib.Core.WidgetManagement.Widget Which one triggered?
Результат void

OnFormClosing() защищенный метод

Form closing. Release resources
protected OnFormClosing ( FormClosingEventArgs e ) : void
e System.Windows.Forms.FormClosingEventArgs eent arg
Результат void

OnPause() публичный метод

Pauses the scanner
public OnPause ( ) : void
Результат void

OnResume() публичный метод

Resumes paused scanner
public OnResume ( ) : void
Результат void

OnRunCommand() публичный метод

Not used
public OnRunCommand ( string command, bool &handled ) : void
command string
handled bool
Результат void