Пример #1
0
 private void button5_Click(object sender, EventArgs e)
 {
     if (AccountManagementDAO.Instance.checkShowForm(getGroupCode(), "fStaff") == true)
     {
         fStaff f = new fStaff();
         this.Hide();
         f.ShowDialog();
         this.Show();
     }
     else
     {
         MessageBox.Show("Bạn không có quyền truy cập");
     }
 }
Пример #2
0
 public fAddStaff(fStaff f)
 {
     InitializeComponent();
     loadValue();
     fstaff = f;
 }
Пример #3
0
 public fDeleteStaff(fStaff f = null)
 {
     InitializeComponent();
     _fstaff = f;
     loadStaff();
 }
Пример #4
0
 public fEditStaff(fStaff f)
 {
     InitializeComponent();
     _fStaff = f;
     loadForm();
 }