Esempio n. 1
0
        private void btnLogin_Click(object sender, EventArgs e)
        {
            Form f = new FormTaiKhoan();

            this.Hide();
            f.ShowDialog();
            this.Show();
        }
Esempio n. 2
0
 private void txtPassword_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == 13)
     {
         Form f = new FormTaiKhoan();
         this.Hide();
         f.ShowDialog();
         this.Show();
     }
 }