Esempio n. 1
0
        private void LeasingChart_RowSelectionChanged(RowManager.Row row)
        {
            var vm = DataContext as LeasingViewViewModel;

            if (vm != null)
            {
                if (row.Selected)
                {
                    var s = new StatisticModel();
                    s.Load(row, vm.LeasingSet);
                    vm.Statistic = s;
                }
                else
                {
                    var s = new StatisticModel();
                    s.Load(vm.LeasingSet);
                    vm.Statistic = s;
                }
            }
        }
Esempio n. 2
0
 private void M_rowM_RowSelectionChanged(RowManager.Row row)
 {
     RowSelectionChanged?.Invoke(row);
 }