private bool ListHandleAskExitResult(ControllerAskExitResult Result) { switch (Result) { case ControllerAskExitResult.Save: this.Commands.Execute(ControllerCommandTypes.BatchAcceptChanges); return true; case ControllerAskExitResult.Reject: this.Commands.Execute(ControllerCommandTypes.BatchRejectChanges); return true; case ControllerAskExitResult.CancelExit: return false; } return true; }
internal ControllerAskExitEventArgs(ControllerAskExitResult EnabledResults) { enabledResults = EnabledResults; }