Пример #1
0
        private void CmdAddReport()
        {
            if (!MainWindowViewModel.Workspaces.Contains(ReportListViewModel))
            {
                MainWindowViewModel.AddWorkspace(ReportListViewModel);
            }

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

            AddReportCommand.NotifyCanExecuteChanged();
        }
Пример #2
0
 static PlayerViewModel()
 {
     ReportListViewModel = new ReportListViewModel();
 }