private async void Close() { var result = await _dialogService.AskQuestionAsync(_languageService.GetValue("ExitApplication"), _languageService.GetValue("AreYouSureYouWantToExitTheApplication")); if (result == MessageDialogResult.Affirmative) { ClosingRequest?.Invoke(this, EventArgs.Empty); } }
protected void OnClosingRequest() { ClosingRequest?.Invoke(this, EventArgs.Empty); }
protected void CloseView() { ClosingRequest?.Invoke(this, EventArgs.Empty); }