} // static public void CloseProfileEditor() // // static private void OpenSettings() // // Open the Settings window. // static public void OpenSettings(object SelectedMenuItem, EventArgs e) { // If the Settings form is already open, bring it to the front... if (Application.OpenForms.OfType <frmSettings>().Count() > 0) { SettingsForm.TopMost = true; return; } // if() SettingsForm = new frmSettings(Settings); SettingsForm.ShowDialog(); } // static private void OpenSettings()
// // static private void OpenSettings() // // Open the Settings window. // public static void OpenSettings( object SelectedMenuItem, EventArgs e ) { // If the Settings form is already open, bring it to the front... if( Application.OpenForms.OfType< frmSettings >().Count() > 0 ) { SettingsForm.TopMost = true; return; } // if() SettingsForm = new frmSettings( Settings ); SettingsForm.ShowDialog(); }
private void mainStripSettings_Click(object sender, EventArgs e) { frmSettings modSettingsFrm = new frmSettings(GAVPI.vi_settings); modSettingsFrm.ShowDialog(); }