Exemplo n.º 1
0
 private void btnStaff_Click(object sender, EventArgs e)
 {
     if (frmStaffManagement == null)
     {
         frmStaffManagement           = new FrmStaffManagement(staff);
         frmStaffManagement.MdiParent = this;
         frmStaffManagement.Dock      = DockStyle.Fill;
         frmStaffManagement.Show();
     }
     else
     {
         frmStaffManagement.BringToFront();
     }
     SetAllButtonToNormal();
     btnStaff.BackColor = Color.Turquoise;
 }
Exemplo n.º 2
0
 private void btnStaff_Click(object sender, EventArgs e)
 {
     if (frmStaffManagement == null)
     {
         frmStaffManagement = new FrmStaffManagement(staff);
         frmStaffManagement.MdiParent = this;
         frmStaffManagement.Dock = DockStyle.Fill;
         frmStaffManagement.Show();
     }
     else
     {
         frmStaffManagement.BringToFront();
     }
     SetAllButtonToNormal();
     btnStaff.BackColor = Color.Turquoise;
 }