Пример #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;
        }