예제 #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);
        }
예제 #2
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);
        }