示例#1
0
        public DashboardCollaborator()
        {
            InvoiceMonth      = new InvoiceMonthViewSource();
            TopMaterial       = new TopMaterialViewSource();
            TopConsumer       = new TopConsumerViewSource();
            RemainingPerMonth = new RemainingPerMonthViewSource();

            RefreshCommand = ReactiveCommand.Create();
            RefreshCommand.Subscribe(x =>
            {
                OnRefresh(x);
            });

            RefreshCommand.Execute(null);
        }
        public DashboardCollaborator()
        {
            InvoiceMonth = new InvoiceMonthViewSource();
            TopMaterial = new TopMaterialViewSource();
            TopConsumer = new TopConsumerViewSource();
            RemainingPerMonth = new RemainingPerMonthViewSource();

            RefreshCommand = ReactiveCommand.Create();
            RefreshCommand.Subscribe(x => 
            {
                OnRefresh(x);
            });

            RefreshCommand.Execute(null);
        }