コード例 #1
0
 private void menuItemDept_Click(object sender, EventArgs e)
 {
     if (deptForm == null || deptForm.IsDisposed)
     {
         deptForm = new DeptForm();
     }
     ShowChildForm(deptForm);
 }
コード例 #2
0
 private void DeptForm1Form_FormClosed(object sender, FormClosedEventArgs e)
 {
     deptForm = null;
 }