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