Ejemplo n.º 1
0
 private void StaffingCalculatorDataCurrentChanged(object sender, EventArgs e)
 {
     _staffingCalculatorData.CurrentItem.SaftyInvoke <StatisticRaw>(q =>
     {
         q.Items3.SaftyInvoke <ICollectionView>(v => v.Refresh());
         WhenCurrentQueueSelected.SaftyInvoke(a => a(q.Source));
     });
 }
Ejemplo n.º 2
0
        public void Combine()
        {
            _combinedServiceQueues.Source.Output(); // sum
            _combinedServiceQueues.Output();        // line chart update

            WhenCurrentQueueSelected.SaftyInvoke(a =>
            {
                a(_combinedServiceQueues.Source);
                _combinedServiceQueues.Items3.SaftyInvoke <ICollectionView>(v => v.Refresh());
            });


            _combinedServiceQueuesItems = _combinedServiceQueues.Items;
            this.QuietlyReload(ref _combinedServiceQueuesItems, "CombinedServiceQueuesItems");
            NotifyOfPropertyChange(() => CombinedServiceQueuesItems3);
        }