コード例 #1
0
 private void CreateProgressWindow()
 {
     if (progressForm == null)
     {
         progressForm              = new ImportTextProgressForm();
         progressForm.FormClosing += ProgressForm_FormClosing;
     }
 }
コード例 #2
0
 private void CloseProgressWindow()
 {
     if (progressForm != null)
     {
         progressForm.Close();
         progressForm.FormClosing -= ProgressForm_FormClosing;
         progressForm.Dispose();
         progressForm = null;
     }
 }