private void BtnAddStaff_Click(object sender, EventArgs e)
 {
     using (AddStaffForm add = new AddStaffForm())
     {
         add.ShowDialog();
     }
 }
Пример #2
0
 private void BtnAddNew_Click(object sender, EventArgs e)
 {
     if (AddStaff())
     {
         Dispose();
         AddStaffForm addStaff = new AddStaffForm();
         addStaff.ShowDialog();
     }
 }