Example #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;
 }
Example #3
0
 public AreaViewModel()
 {
     areas = BusinessModelParser.GetAreas();
     //infoVM = new CustomerInfoViewModel() { Info = "hello world" };
     UpdateCommand = new DeleteAreaCommand(this);
 }