/// <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 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 a new instance of the class. /// </summary> public ScreenLockSettingsForm() { InitializeComponent(); _windowActiveWatchdog = new WindowActiveWatchdog(this); _dialogCommon = new DialogCommon(this); if (!_dialogCommon.Initialize()) { Log.Debug("Initialization error"); } initWidgetSettings(); Load += ScreenLockSettingsForm_Load; FormClosing += ScreenLockSettingsForm_FormClosing; }
/// <summary> /// Initializes a new instance of the class. /// </summary> public ScannerSettingsForm() { InitializeComponent(); _dialogCommon = new DialogCommon(this); if (!_dialogCommon.Initialize()) { Log.Debug("Initialization error"); } initWidgetSettings(Common.AppPreferences); Load += ScannerSettingsForm_Load; FormClosing += ScannerSettingsForm_FormClosing; }
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> /// 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 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 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 WindowMoveResizeScannerForm() { InitializeComponent(); _dialogCommon = new DialogCommon(this); Title.Hide(); if (!_dialogCommon.Initialize()) { Log.Debug("Initialization error"); } Load += WindowMoveResizeScannerForm_Load; FormClosing += WindowMoveResizeScannerForm_FormClosing; }
/// <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 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 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 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; }