Exemplo n.º 1
0
        private void btnThemKhachHang_Click(object sender, EventArgs e)
        {
            frmThemSuaKH frm = new frmThemSuaKH();

            frm.themkhachhang += HamThemKhachHang;
            frm.ShowDialog();
        }
Exemplo n.º 2
0
        private void btnSuaKhachHang_Click(object sender, EventArgs e)
        {
            MaKH = dgvKhachHang.SelectedRows[0].Cells["colMaKhachHang"].Value.ToString();
            frmThemSuaKH frm = new frmThemSuaKH(MaKH);

            frm.suakhachhang += HamSuaKhachHang;
            frm.ShowDialog();
        }