示例#1
0
        private void btnRefreshHDB_Click(object sender, RoutedEventArgs e)
        {
            txtMaHDB.Text = "";
            HoaDonBan hdb = new HoaDonBan();

            dgvHoaDonBan.DataContext = hdb.LayHDBan_QL();
        }
示例#2
0
        public QLHoaDon()
        {
            InitializeComponent();

            HoaDonBan hdb = new HoaDonBan();

            dgvHoaDonBan.DataContext = hdb.LayHDBan_QL();


            HoaDonNhap hdn = new HoaDonNhap();

            dgvHoaDonNhap.DataContext = hdn.LayHDNhap_QL();
        }