Beispiel #1
0
        private void btnTaiKhoan_Click(object sender, EventArgs e)
        {
            this.Hide();
            Form frmTK = new frmTaiKhoan();

            frmTK.ShowDialog();
            this.Close();
        }
Beispiel #2
0
 private void btnQuanLyTaiKhoan_Click(object sender, EventArgs e)
 {
     if (lblTen.Text == "ADMIN")
     {
         this.Hide();
         Form frmQLTK = new frmTaiKhoan();
         frmQLTK.ShowDialog();
         this.Close();
     }
     else
     {
         MessageBox.Show("Nhân viên không có quyền truy cập chức năng này!");
     }
 }