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)); }); }
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); }