public CaseViewModel(Case c) { c.PropertyChanged += new PropertyChangedEventHandler(delegate(object sender, PropertyChangedEventArgs args) { Minerals = ((Case)sender).Minerals; Foods = ((Case)sender).Foods; }); Minerals = c.Minerals; Foods = c.Foods; }
public Case(Case caseToCopy) { }