private void init() { Log.Debug(); InitializeComponent(); _filterByProcess = null; CreateTaskTable(); _dialogCommon = new DialogCommon(this); if (!_dialogCommon.Initialize()) { Log.Debug("Initialization error"); } this.Load += new EventHandler(TaskSwitcherForm_Load); this.FormClosing += new FormClosingEventHandler(TaskSwitcherForm_FormClosing); _dialogCommon.GetAnimationManager().EvtResolveWidgetChildren += new AnimationManager.ResolveWidgetChildren(TaskSwitcherForm_EvtResolveWidgetChildren); Title.FlatAppearance.BorderSize = 0; Log.Debug("returning"); }
/// <summary> /// Intitializes the class /// </summary> /// <param name="startupArg">startup param</param> /// <returns>true on success</returns> public bool Initialize(StartupArg startupArg) { _dialogCommon = new DialogCommon(this); Cancel = false; return(_dialogCommon.Initialize(startupArg)); }
/// <summary> /// Intitializes the class /// </summary> /// <param name="startupArg">startup param</param> /// <returns>true on success</returns> public bool Initialize(StartupArg startupArg) { _dialogCommon = new DialogCommon(this); Add = false; Delete = false; OutputAbbreviation = new Abbreviation(String.Empty, String.Empty, Abbreviation.AbbreviationMode.Speak); Cancel = false; return(_dialogCommon.Initialize(startupArg)); }
/// <summary> /// Intitializes the class /// </summary> /// <param name="startupArg">startup param</param> /// <returns>true on success</returns> public bool Initialize(StartupArg startupArg) { _dialogCommon = new DialogCommon(this); bool retVal = _dialogCommon.Initialize(startupArg); if (retVal) { initWidgetSettings(Common.AppPreferences); } return(retVal); }
/// <summary> /// Intitializes the class /// </summary> /// <param name="startupArg">startup param</param> /// <returns>true on success</returns> public bool Initialize(StartupArg startupArg) { _dialogCommon = new DialogCommon(this); if (!_dialogCommon.Initialize(startupArg)) { return(false); } populateUI(); return(true); }
/// <summary> /// Intitializes the class /// </summary> /// <param name="startupArg">startup param</param> /// <returns>true on success</returns> public bool Initialize(StartupArg startupArg) { _dialogCommon = new DialogCommon(this); if (!_dialogCommon.Initialize(startupArg)) { return(false); } initWidgetSettings(Common.AppPreferences); return(true); }
/// <summary> /// Initializes the form /// </summary> /// <returns>true on success</returns> public bool Init() { _dialogCommon = new DialogCommon(this); if (!_dialogCommon.Initialize()) { Log.Debug("Initialization error"); } Load += Form_Load; FormClosing += Form_Closing; return(true); }
/// <summary> /// Initializes a new instance of the class. /// </summary> public WindowMoveResizeScannerForm() { InitializeComponent(); _dialogCommon = new DialogCommon(this); Title.Hide(); if (!_dialogCommon.Initialize()) { Log.Debug("Initialization error"); } Load += ResizeScannerScreen_Load; FormClosing += ResizeScannerScreen_FormClosing; }
public AlternatePronunciationDataForm() { InitializeComponent(); _dialogCommon = new DialogCommon(this); if (!_dialogCommon.Initialize()) { MessageBox.Show("Initialization error"); } this.KeyPreview = true; listViewAP.KeyPress += new KeyPressEventHandler(listViewAP_KeyPress); this.Load += new EventHandler(AlternatePronunciationDataForm_Load); this.FormClosing += new FormClosingEventHandler(AlternatePronunciationDataForm_FormClosing); }
/// <summary> /// Initializes a new instance of the class. /// </summary> public WordPredictionSettingsForm() { InitializeComponent(); _dialogCommon = new DialogCommon(this); if (!_dialogCommon.Initialize()) { Log.Debug("Initialization error"); } initWidgetSettings(Common.AppPreferences); Load += ScannerSettingsForm_Load; FormClosing += ScannerSettingsForm_FormClosing; }
/// <summary> /// Intitializes the class /// </summary> /// <param name="startupArg">startup param</param> /// <returns>true on success</returns> public bool Initialize(StartupArg startupArg) { _dialogCommon = new DialogCommon(this); _initialWindowPosition = Context.AppWindowPosition; _dialogCommon.AutoDockScanner = false; if (!_dialogCommon.Initialize(startupArg)) { return(false); } subscribeToButtonEvents(); return(true); }
/// <summary> /// Initializes an instance of hte class /// </summary> public ACATGettingStartedForm() { InitializeComponent(); textBoxEntry.TextChanged += TextBoxEntryOnTextChanged; _dialogCommon = new DialogCommon(this); if (!_dialogCommon.Initialize()) { return; } setNextWord(); Load += AsterLaunchpad_Load; FormClosing += AsterLaunchpad_FormClosing; }
/// <summary> /// Initializes a new instance of the class. /// </summary> public AboutBoxForm(string titleText) { InitializeComponent(); _attributions = new List <string>(); _invoker = new ExtensionInvoker(this); _dialogCommon = new DialogCommon(this); if (!_dialogCommon.Initialize()) { Log.Debug("Initialization error"); } Load += Form_Load; FormClosing += Form_Closing; }
/// <summary> /// Initializes the class /// </summary> private void init() { _dialogCommon = new DialogCommon(this); Add = false; Delete = false; OutputAbbreviation = new Abbreviation(String.Empty, String.Empty, Abbreviation.AbbreviationMode.Speak); Cancel = false; if (!_dialogCommon.Initialize()) { Log.Debug("Initialization error"); } Load += AbbreviationsEditorForm_Load; FormClosing += AbbreviationsEditorForm_FormClosing; }
/// <summary> /// Initializes a new instance of the class. /// </summary> public MuteScreenSettingsForm() { InitializeComponent(); _windowActiveWatchdog = new WindowActiveWatchdog(this); _dialogCommon = new DialogCommon(this); if (!_dialogCommon.Initialize()) { Log.Debug("Initialization error"); } initWidgetSettings(); Load += MuteScreenSettingsForm_Load; FormClosing += MuteScreenSettingsForm_FormClosing; }
void init(String originalTerm, String replacementTerm) { _dialogCommon = new DialogCommon(this); // _windowActiveWatchdog = new WindowActiveWatchdog(this); _originalTerm = originalTerm; _replacementTerm = replacementTerm; _hasTerm = false; if (!_dialogCommon.Initialize()) { MessageBox.Show("Initialization error"); } this.Load += new EventHandler(AsterScreenTemplateForm_Load); this.FormClosing += new FormClosingEventHandler(AsterScreenTemplateForm_FormClosing); }
/// <summary> /// Initializes an instance of hte class /// </summary> public ACATTryoutForm() { InitializeComponent(); updateToolbar(); textBoxEntry.TextChanged += TextBoxEntryOnTextChanged; _dialogCommon = new DialogCommon(this); if (!_dialogCommon.Initialize()) { return; } setNextWord(); Load += ACATTryoutForm_Load; FormClosing += ACATTryoutForm_FormClosing; }
/// <summary> /// Initializes a new instance of the class. /// </summary> public TimedDialogForm() { InitializeComponent(); _invoker = new ExtensionInvoker(this); _dialogCommon = new DialogCommon(this); if (!_dialogCommon.Initialize()) { Log.Debug("Initialization error"); } ShowButton = true; Text = _titleText; MessageText = _message; Load += Form_Load; FormClosing += Form_Closing; }
/// <summary> /// Initializes a new instance of the class. /// </summary> public ResizeScannerForm() { InitializeComponent(); _dialogCommon = new DialogCommon(this); _initialWindowPosition = Context.AppWindowPosition; _dialogCommon.AutoDockScanner = false; if (!_dialogCommon.Initialize()) { Log.Debug("Initialization error"); } Load += ResizeScannerScreen_Load; FormClosing += ResizeScannerScreen_FormClosing; subscribeToButtonEvents(); }
/// <summary> /// Initializes a new instance of the class. /// </summary> public ResizeScannerForm() { InitializeComponent(); _dialogCommon = new DialogCommon(this); _initialWindowPosition = Context.AppWindowPosition; if (!_dialogCommon.Initialize()) { Log.Debug("Initialization error"); } FormBorderStyle = FormBorderStyle.None; Load += ResizeScannerScreen_Load; FormClosing += ResizeScannerScreen_FormClosing; BorderPanel.Paint += BorderPanel_Paint; subscribeToButtonEvents(); }
/// <summary> /// Initializes a new instance of the class. /// </summary> public TextToSpeechSettingsForm() { InitializeComponent(); saveInitalValues(); _dialogCommon = new DialogCommon(this); if (!_dialogCommon.Initialize()) { Log.Debug("Initialization error"); } populateUI(); tbPitch.TextChanged += tbPitch_TextChanged; tbRate.TextChanged += tbRate_TextChanged; tbVolume.TextChanged += tbVolume_TextChanged; Load += TextToSpeechSettingsForm_Load; FormClosing += TextToSpeechSettingsForm_FormClosing; }