Esempio n. 1
0
 public UserControl1 create()
 {
     model = new DllGraphModel();
     vm = new DllGraph_VM(model);
     uc = new UserControl1(vm);
     return uc;
 }
Esempio n. 2
0
 public DllGraph_VM(DllGraphModel model)
 {
     this.model = model;
     this.model.PropertyChanged += delegate(Object sender, PropertyChangedEventArgs e)
     {
         NotifyPropertyChanged("VM_" + e.PropertyName);
     };
 }