Beispiel #1
0
        private void btnDKKH_Click(object sender, EventArgs e)
        {
            dem = 0;
            DangKyKhachHang d = new DangKyKhachHang(null, null, null, null);

            d.Show();
        }
Beispiel #2
0
        private void tbnCapNhat_Click(object sender, EventArgs e)
        {
            dem = 1;
            int r = dgvThongTinChiTiet.CurrentCell.RowIndex;

            makh   = dgvThongTinChiTiet.Rows[r].Cells[0].Value.ToString();
            tenkh  = dgvThongTinChiTiet.Rows[r].Cells[1].Value.ToString();
            diachi = dgvThongTinChiTiet.Rows[r].Cells[2].Value.ToString();
            sdt    = dgvThongTinChiTiet.Rows[r].Cells[3].Value.ToString();
            DangKyKhachHang d = new DangKyKhachHang(makh, tenkh, diachi, sdt);

            d.Show();
        }