Beispiel #1
0
        /// <summary>
        /// Shows the settings window.
        /// </summary>
        private static void ShowSettingsWindow()
        {
            //  Is the settings form open? If so, activate it.
            if (settingsForm != null && settingsForm.IsHandleCreated)
            {
                settingsForm.Activate();
                return;
            }

            //  Create the settings form.
            settingsForm = new FormQuickAccent();

            //  Show the settings form.
            settingsForm.Show();
        }
Beispiel #2
0
        /// <summary>
        /// Shows the settings window.
        /// </summary>
        private static void ShowSettingsWindow()
        {
            //  Is the settings form open? If so, activate it.
            if (settingsForm != null && settingsForm.IsHandleCreated)
            {
                settingsForm.Activate();
                return;
            }

            //  Create the settings form.
            settingsForm = new FormQuickAccent();

            //  Show the settings form.
            settingsForm.Show();
        }