Exemple #1
0
 public static void khoitao()
 {
     frm_MAIN           = new frmManHinhChinh();
     frm_Dangnhap       = new frmDangNhap();
     frm_Doimatkhau     = new frmDoiMatKhau();
     frm_Quanlytaikhoan = new frmQuanLiTaiKhoan();
 }
Exemple #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            DataAccess.connect = txtconnect.Text;
            try
            {
                DataAccess.OpenConnection();
                DataAccess.CloseConnection();
            }
            catch
            {
                MessageBox.Show("Không thể kết nối");
                return;
            }
            this.Hide();
            frmManHinhChinh fr = new frmManHinhChinh();

            fr.ShowDialog();
        }