Exemplo n.º 1
0
        private void CmdAddReport()
        {
            if (!MainWindowViewModel.Workspaces.Contains(ReportListViewModel))
            {
                MainWindowViewModel.AddWorkspace(ReportListViewModel);
            }

            ReportListViewModel.AddReport(Report);
            Report.AddImage(ScreenshotUrl);

            AddReportCommand.NotifyCanExecuteChanged();
        }