コード例 #1
0
        private void EditGlobalConfiguration_Click(object sender, EventArgs e)
        {
            foreach (Form F in Application.OpenForms)
            {
                if (F.GetType() == typeof(GlobalConfigEdit))
                {
                    F.BringToFront();
                    F.Focus();
                    return;
                }
            }
            GlobalConfigEdit CI = new GlobalConfigEdit();

            CI.StartPosition = FormStartPosition.CenterParent;
            CI.Show(this);
        }
コード例 #2
0
ファイル: MainMenu.cs プロジェクト: ewingnnut/DirectOutput
 private void EditGlobalConfiguration_Click(object sender, EventArgs e)
 {
     foreach (Form F in Application.OpenForms)
     {
         if (F.GetType() == typeof(GlobalConfigEdit))
         {
             F.BringToFront();
             F.Focus();
             return;
         }
     }
     GlobalConfigEdit CI = new GlobalConfigEdit();
     CI.StartPosition = FormStartPosition.CenterParent;
     CI.Show(this);
 }