public void ShowReportErrorWindow()
        {
            var baseDialogViewModel  = new BaseDialogViewModel(Properties.strings.ReportError);
            var reportErrorViewModel = new ReportErrorViewModel(Properties.strings.ReportError);

            baseDialogViewModel.CurrentViewModel = reportErrorViewModel;
            var baseDialog = new BaseDialogWindow {
                DataContext = baseDialogViewModel
            };

            reportErrorViewModel.DialogResultFalseRequest += baseDialog.OnDialogResultFalse;
            reportErrorViewModel.DialogResultTrueRequest  += baseDialog.OnDialogResultTrue;
            var result = baseDialog.ShowDialog();
        }
Beispiel #2
0
 public ActionResult ReportError(ReportErrorViewModel model)
 {
     return(View(model));
 }