Exemple #1
0
        private void btnSuaLichSuGia2_Click(object sender, EventArgs e)
        {
            LichSuGia lsg = new LichSuGia();

            //MessageBox.Show(dgvLichSuGia.SelectedRows[0].Cells["maHang"].Value + "---"+dgvLichSuGia.SelectedRows[0].Cells["ngayBatDau"].Value);
            lsg.MaHang     = dgvLichSuGia.SelectedRows[0].Cells["maHang"].Value + "";
            lsg.NgayBatDau = dgvLichSuGia.SelectedRows[0].Cells["ngayBatDau"].Value + "";
            frmSuaLichSuGia suaLSG = new frmSuaLichSuGia(lsg);

            suaLSG.ShowDialog();
        }
Exemple #2
0
        private void btnSuaLichSuGia_Click(object sender, EventArgs e)
        {
            frmSuaLichSuGia suaLSG = new frmSuaLichSuGia();

            suaLSG.ShowDialog();
        }