Exemple #1
0
        void TroLai()
        {
            this.Hide();
            frmQLTheDoc t = new frmQLTheDoc(user, pass, maquyen);

            t.ShowDialog();
        }
Exemple #2
0
 private void quảnToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (maquyen == "Quyen2" || maquyen == "Quyen3")
     {
         this.Hide();
         frmQLTheDoc t = new frmQLTheDoc(user, pass, maquyen);
         t.ShowDialog();
     }
     else
     {
         MessageBox.Show("Bạn không có quyền");
     }
 }