public Project() { StartMonth = 1; StartYear = DateTime.Now.Year; Name = "Abrechnung " + StartYear; Result = new ResultTable(this); Costs.CollectionChanged += (_, e) => { NotifyPropertyChanged("Costs"); if (e.Action == NotifyCollectionChangedAction.Add) foreach ( Cost c in e.NewItems ) NotifyIfChanged(c); }; }
public Project() { StartMonth = 1; StartYear = DateTime.Now.Year; Name = "Abrechnung " + StartYear; Result = new ResultTable(this); Costs.CollectionChanged += (_, e) => { NotifyPropertyChanged("Costs"); if (e.Action == NotifyCollectionChangedAction.Add) { foreach (Cost c in e.NewItems) { NotifyIfChanged(c); } } }; }
private Project(string name) { Name = name; Result = new ResultTable(this); }
private Project(string name) { Name = name; Result = new ResultTable(this); }