예제 #1
0
        }  //  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()
예제 #2
0
파일: GAVPI.cs 프로젝트: zerosolidus/AVPI
        //
        //  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();
        }
예제 #3
0
        private void mainStripSettings_Click(object sender, EventArgs e)
        {
            frmSettings modSettingsFrm = new frmSettings(GAVPI.vi_settings);

            modSettingsFrm.ShowDialog();
        }