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

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

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

Метод Описание
OnButtonActuated ( ACAT.Lib.Core.WidgetManagement.Widget widget ) : void

Triggered when a widget is actuated.

OnPause ( ) : void

Pause the scanner

OnResume ( ) : void

Resume paused scanner

OnRunCommand ( string command, bool &handled ) : void

Not used

ScannerSettingsForm ( ) : System

Initializes a new instance of the class.

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

Метод Описание
OnFormClosing ( FormClosingEventArgs e ) : void

Form is closing release resources

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

Метод Описание
ScannerSettingsForm_FormClosing ( object sender, FormClosingEventArgs e ) : void

Form is closing. Releases resources

ScannerSettingsForm_Load ( object sender, EventArgs e ) : void

Form has been loaded. Initialize

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

Gets the values from the form and updates the settings. Returns the preferences object with the new settings

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

Initialize the controls on the form based on the corresponding values in the preferences

loadDefaultSettings ( ) : void

Loads default settings from the preferences file

quit ( ) : void

Confirms with the user and quits the dialog

saveSettingsAndQuit ( ) : void

Saves the settings and quits the dialog

subscribeToEvents ( ) : void

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

widget_EvtValueChanged ( object sender, ACAT.Lib.Core.WidgetManagement.WidgetEventArgs e ) : void

User changed some setting on the screen. Set the dirty flag to indicate this

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

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

Triggered 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 is closing release resources
protected OnFormClosing ( FormClosingEventArgs e ) : void
e System.Windows.Forms.FormClosingEventArgs event arg
Результат void

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

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

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

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

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

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

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

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