private void pictureBox1_Click(object sender, EventArgs e) { this.Hide(); QuanLyTaiKhoan quanli = new QuanLyTaiKhoan(); quanli.SDT = sdt; quanli.ShowDialog(); this.Close(); }
private void pbTroVe_Click(object sender, EventArgs e) { if (kiemtra == "QUENMATKHAU") { this.Hide(); QuenMatKhau quen = new QuenMatKhau(); quen.SDT = sdt; quen.ShowDialog(); this.Close(); } else { this.Hide(); QuanLyTaiKhoan khachhang = new QuanLyTaiKhoan(); khachhang.SDT = sdt; khachhang.ShowDialog(); this.Close(); } }