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); }
public async Task Initialize_ActionEditAsync(TViewModel sourceVM) { await ModifyVM.Initialize_ActionEditAsync(sourceVM); }
public async Task Initialize_ActionAddAsync() { await ModifyVM.Initialize_ActionAddAsync(); }
public void Initialize_ActionEdit(TViewModel sourceVM) { ModifyVM.Initialize_ActionEdit(sourceVM); }
public void Initialize_ActionAdd() { ModifyVM.Initialize_ActionAdd(); }