コード例 #1
0
 public AddViewModel(ListViewModel lvm)
 {
     _myListViewModel = lvm;
     _addCommand      = new DelegateCommand(SaveModel);
 }
コード例 #2
0
 public EditViewModel(ListViewModel lvm,int id)
 {
     _myListViewModel = lvm;
     _model = new Model.StopBitModel() { Id=id };
     _editCommand = new DelegateCommand(SaveModel);
 }