private void btnRefreshHDB_Click(object sender, RoutedEventArgs e) { txtMaHDB.Text = ""; HoaDonBan hdb = new HoaDonBan(); dgvHoaDonBan.DataContext = hdb.LayHDBan_QL(); }
public QLHoaDon() { InitializeComponent(); HoaDonBan hdb = new HoaDonBan(); dgvHoaDonBan.DataContext = hdb.LayHDBan_QL(); HoaDonNhap hdn = new HoaDonNhap(); dgvHoaDonNhap.DataContext = hdn.LayHDNhap_QL(); }