Exemplo n.º 1
0
        //click Sửa chi tiết hóa đơn
        private void dgvDanhSachSuDungDichVu_DoubleClick(object sender, EventArgs e)
        {
            FrmSuDungDichVu frm = new FrmSuDungDichVu();

            frm.isinsert = false;
            frm.LamMoi  += new EventHandler(btnLamMoiDichVu_Click);
            frm.ID       = gridView1.GetRowCellValue(gridView1.FocusedRowHandle, gridView1.Columns[3]).ToString();
            frm.ShowDialog();
        }
Exemplo n.º 2
0
        //Click Thêm cthd
        private void simpleButton1_Click_1(object sender, EventArgs e)
        {
            FrmSuDungDichVu frm = new FrmSuDungDichVu();

            frm.isinsert = true;
            frm.ID       = txtMaHoaDon.Text;
            frm.LamMoi  += new EventHandler(btnLamMoiDichVu_Click);
            frm.ShowDialog();
        }