示例#1
0
        private void btnexit_Click(object sender, EventArgs e)
        {
            this.Hide();
            frmAdmin formnhanvien = new frmAdmin();

            formnhanvien.ShowDialog();
        }
示例#2
0
 private void btnlogin_Click(object sender, EventArgs e)
 {
     if (loginbll.IsAccess(txtusername.Text, txtpassword.Text))
     {
         this.Hide();
         frmAdmin adminpage = new frmAdmin();
         adminpage.ShowDialog();
     }
 }