예제 #1
0
        public OrdersUserControl(HomeBugaltery homeBugaltery)
        {
            InitializeComponent();

            this.homeBugaltery = homeBugaltery;

            ListBoxOrders.ItemsSource = ordersViews = new ObservableCollection <OrdersView>();

            fuco = new FiltersUserControl(homeBugaltery);
            GridFilters.Children.Add(fuco);
        }
예제 #2
0
        public BalanceUserControl(HomeAccounting ha)
        {
            InitializeComponent();

            this.ha = ha;

            fuc = new FiltersUserControl(ha);
            GridFilters.Children.Add(fuc);

            ha.FiltersUpdated += UpdateListBoxBalance;
        }