예제 #1
0
 bool ModifyOnWindowTViewModel_OnClosingWindow()
 {
     if (_wasModifyDone)
     {
         return(true);
     }
     IsFocusedToFinishEnter = true;
     if (ModifyVM.Action == ActionMode.Adding && ModifyVM.WasAddingTModelChanged() ||
         ModifyVM.Action == ActionMode.Editing && ModifyVM.WasEdittingTModelChanged())
     {
         return(ComplateAction());
     }
     return(true);
 }
예제 #2
0
 public async Task Initialize_ActionEditAsync(TViewModel sourceVM)
 {
     await ModifyVM.Initialize_ActionEditAsync(sourceVM);
 }
예제 #3
0
 public async Task Initialize_ActionAddAsync()
 {
     await ModifyVM.Initialize_ActionAddAsync();
 }
예제 #4
0
 public void Initialize_ActionEdit(TViewModel sourceVM)
 {
     ModifyVM.Initialize_ActionEdit(sourceVM);
 }
예제 #5
0
 public void Initialize_ActionAdd()
 {
     ModifyVM.Initialize_ActionAdd();
 }