C# Класс ACAT.Extensions.Default.FunctionalAgents.VolumeSettings.VolumeSettingsScanner

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CheckWidgetEnabled ( CheckEnabledArgs arg ) : bool

Invoked to check if a scanner button should be enabled. Uses context to determine the 'enabled' state.

Initialize ( StartupArg startupArg ) : bool

Initializes the form

OnFocusChanged ( WindowActivityMonitorInfo monitorInfo ) : void

Invoked when the focus changes either in the active window or when the active window itself changes.

OnPause ( ) : void

Pauses animation and hides the form

OnQueryPanelChange ( PanelRequestEventArgs eventArg ) : bool

Not used

OnResume ( ) : void

Resumes animation and shows the form

OnWidgetActuated ( Widget widget, bool &handled ) : void

User actuated a widget. Act on it i.e, set the volume based on the level selected

SetTargetControl ( Form parent, Widget widget ) : void

Not used

VolumeSettingsScanner ( ) : System

Initializes a new instance of the class.

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

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

Release resources

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

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

Release resources

VolumeSettingsScanner_Load ( object sender, EventArgs e ) : void

Form is loaded. Initialize it.

WndProc ( Message &m ) : void
doVolumeTest ( ) : void

Does a volume test by converting a test string to speech

setTitle ( int setting = -1 ) : void

Set the title of the form with the volume level

setVolumeAndUpdateTitle ( int volume ) : void

Sets the volume in the TTS engine and updates the level setting in the title bar

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

CheckWidgetEnabled() публичный Метод

Invoked to check if a scanner button should be enabled. Uses context to determine the 'enabled' state.
public CheckWidgetEnabled ( CheckEnabledArgs arg ) : bool
arg CheckEnabledArgs info about the scanner button
Результат bool

Initialize() публичный Метод

Initializes the form
public Initialize ( StartupArg startupArg ) : bool
startupArg StartupArg Startup arg
Результат bool

OnFocusChanged() публичный Метод

Invoked when the focus changes either in the active window or when the active window itself changes.
public OnFocusChanged ( WindowActivityMonitorInfo monitorInfo ) : void
monitorInfo WindowActivityMonitorInfo Info about focused element
Результат void

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

Release resources
protected OnFormClosing ( FormClosingEventArgs e ) : void
e FormClosingEventArgs event args
Результат void

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

Pauses animation and hides the form
public OnPause ( ) : void
Результат void

OnQueryPanelChange() публичный Метод

Not used
public OnQueryPanelChange ( PanelRequestEventArgs eventArg ) : bool
eventArg PanelRequestEventArgs
Результат bool

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

Resumes animation and shows the form
public OnResume ( ) : void
Результат void

OnWidgetActuated() публичный Метод

User actuated a widget. Act on it i.e, set the volume based on the level selected
public OnWidgetActuated ( Widget widget, bool &handled ) : void
widget Widget widget activated
handled bool was this handled
Результат void

SetTargetControl() публичный Метод

Not used
public SetTargetControl ( Form parent, Widget widget ) : void
parent Form
widget Widget
Результат void

VolumeSettingsScanner() публичный Метод

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