コード例 #1
0
 private void ShowConfigForm()
 {
     if (_configForm != null)
     {
         _configForm.Activate();
     }
     else
     {
         _configForm = new MainForm(_controller);
         _configForm.Show();
         _configForm.FormClosed += ConfigFormFormClosed;
     }
 }
コード例 #2
0
 void ConfigFormFormClosed(object sender, FormClosedEventArgs e)
 {
     _configForm = null;
     Utils.ReleaseMemory();
     ShowFirstTimeBalloon();
 }