Beispiel #1
0
 public AreaViewModel()
 {
     _areaList = new ObservableCollection <Area>(BusinessModelParser.GetAreas());
     //_areaList.CollectionChanged += this.OnCollectionChanged;
     _saveAreaCommand = new SaveAreaCommand(newArea);
 }
 private void GetRecords()
 {
     _areaList = new ObservableCollection <Area>(BusinessModelParser.GetAreas());
     _areaList.CollectionChanged += this.OnCollectionChanged;
 }
Beispiel #3
0
 public AreaViewModel()
 {
     areas = BusinessModelParser.GetAreas();
     //infoVM = new CustomerInfoViewModel() { Info = "hello world" };
     UpdateCommand = new DeleteAreaCommand(this);
 }