コード例 #1
0
 private void ShowSettingForm()
 {
     if (settingsForm != null)
     {
         settingsForm.Activate();
     }
     else
     {
         settingsForm = new SettingsForm(controller);
         settingsForm.Show();
         settingsForm.Activate();
         settingsForm.BringToFront();
         settingsForm.FormClosed += settingsForm_FormClosed;
     }
 }
コード例 #2
0
 void settingsForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     settingsForm = null;
     Util.Utils.ReleaseMemory();
 }
コード例 #3
0
 void settingsForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     settingsForm = null;
     Util.Utils.ReleaseMemory();
 }