Esempio n. 1
0
        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;
        }
Esempio n. 2
0
 public Case(Case caseToCopy)
 {
 }