コード例 #1
0
 private void صرفاصنافلموظفToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (category_to_employee == null)
     {
         category_to_employee             = new category_to_employee();
         category_to_employee.MdiParent   = this;
         category_to_employee.FormClosed += new FormClosedEventHandler(category_to_employee_FormClosed);
         category_to_employee.Show();
     }
     else
     {
         category.Activate();
     }
 }
コード例 #2
0
 void category_to_employee_FormClosed(object sender, FormClosedEventArgs e)
 {
     //throw new NotImplementedException();
     category_to_employee = null;
 }