Exemplo n.º 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);
        }
Exemplo n.º 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);
        }