Example #1
0
 private void Lb_Dangnhap_Click(object sender, EventArgs e)
 {
     if (LoginCheck())
     {
         frmQLGBD f = new frmQLGBD();
         this.Hide();
         f.Show();
     }
 }
Example #2
0
 private void txb_pass_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == (char)13)
     {
         if (LoginCheck())
         {
             frmQLGBD f = new frmQLGBD();
             this.Hide();
             f.Show();
         }
     }
 }