public void Remove(AssignViewModel assignViewModel)
 {
     this.Assigns.Remove(assignViewModel);
     Commit();
 }
示例#2
0
 public void Remove(AssignViewModel assignViewModel)
 {
     this.Assigns.Remove(assignViewModel);
     Commit();
 }
 public void AddNewAssign()
 {
     var nvm = new AssignViewModel(this,
         Key.Enter, ModifierKeys.None, KeyAssignGroup.Global,
         null, null);
     this.Assigns.Add(nvm);
     CurrentAssignViewModel = nvm;
     Commit();
 }