Esempio n. 1
0
        private void btnSuaX_Click(object sender, EventArgs e)
        {
            FormNhapXuat.manx = dgvXuat.CurrentRow.Cells["max"].Value.ToString();
            FormNhapXuat frm = new FormNhapXuat();

            frm.ShowDialog();
            nxBAL.LoadGridView(dgvXuat, "X");
            ChonDenDong(dgvXuat, FormNhapXuat.manx);
            XuatBindingData();
        }
Esempio n. 2
0
        private void btnThemX_Click(object sender, EventArgs e)
        {
            FormNhapXuat.manx = myme.MaTuTang("X", nxBAL.MaCuoiCung("X"), 15);
            FormNhapXuat frm = new FormNhapXuat();

            frm.ShowDialog();
            nxBAL.LoadGridView(dgvXuat, "X");
            ChonDenDong(dgvXuat, FormNhapXuat.manx);
            XuatBindingData();
        }