예제 #1
0
        private void buttonX2_Click(object sender, EventArgs e)
        {
            frmCapNhatCongNo frm = new frmCapNhatCongNo(donNhapHang, nhaCungCap.Ten);

            frm.ShowDialog();
            LoadInfo();
        }
        private void buttonX2_Click(object sender, EventArgs e)
        {
            frmCapNhatCongNo frm = new frmCapNhatCongNo(hoaDon, khachHang.Ten);

            frm.ShowDialog();
            LoadInfo();
        }
예제 #3
0
        private void buttonX3_Click(object sender, EventArgs e)
        {
            frmCapNhatCongNo frm = new frmCapNhatCongNo(hoaDon, khachHang.Ten);

            frm.ShowDialog();
            dgvDSHoaDon.DataSource = hoadonBLL.LoadAllDanhSach();
            hoaDon = hoadonBLL.GetHoaDonByID(dgvDSHoaDon.Rows[0].Cells[0].Value.ToString());
            ShowInfoHoaDon(hoaDon);
        }