Exemple #1
0
        public void OpenSettingsWindow()
        {
            if (_SettingsWindow == null) {
                _SettingsWindow = new Settings();
                _SettingsWindow.FormClosed += _SettingsWindow_FormClosed;
                _SettingsWindow.Show();

            }

            if (FirstRun) {
                FirstRun = false;
                _SettingsWindow.InitFirstRun();
            }

            _SettingsWindow.Activate();
            _SettingsWindow.BringToFront();
        }
Exemple #2
0
        private void OpenSettingsWindow()
        {
            if (_SettingsWindow == null) {
                _SettingsWindow = new Settings();
                _SettingsWindow.FormClosed += _SettingsWindow_FormClosed;
                _SettingsWindow.Show(this);
            }

            _SettingsWindow.Activate();
            _SettingsWindow.BringToFront();
        }