Exemple #1
0
        private void buttonSettings_Click_1(object sender, EventArgs e)
        {
            SettingsDialog settingsForm = new SettingsDialog();
            settingsForm.ShowDialog();
            ProtectConfig();

        }
Exemple #2
0
 private void ShowSettings()
 {
     SettingsDialog settingsForm = new SettingsDialog();
     settingsForm.ShowDialog();
 }
Exemple #3
0
        private void buttonSettings_Click_1(object sender, EventArgs e)
        {

            var lastOnTopState = this.TopMost;
            settings.globalOnTop = false;
            SettingsDialog settingsForm = new SettingsDialog();
            settingsForm.EndPointList = endpointListBS;
            settingsForm.TopMost = true;
            //var state = this.WindowState;
            //this.WindowState = FormWindowState.Minimized;
            settingsForm.ShowDialog();
            //this.WindowState = state;
            this.Enabled = true;
            
            ProtectConfig();
            settings.globalOnTop = lastOnTopState;
            
        }