コード例 #1
0
 public CreateProductViewModel()
 {
     ws            = new Workspace();
     prerequisites = new PrerequisiteViewModel();
     bkgWorker     = new BackgroundWorker
     {
         WorkerReportsProgress      = true,
         WorkerSupportsCancellation = true
     };
     bkgWorker.DoWork             += BkgWorker_DoWork;;
     bkgWorker.RunWorkerCompleted += BkgWorker_RunWorkerCompleted;
 }
コード例 #2
0
 public CreateWorkspaceViewModel()
 {
     prerequisites = new PrerequisiteViewModel();
     OnPropertyChanged("ArchitectureList");
     LoadJson();
     bkgWorker = new BackgroundWorker
     {
         WorkerReportsProgress      = true,
         WorkerSupportsCancellation = true
     };
     bkgWorker.DoWork             += BkgWorker_DoWork;;
     bkgWorker.RunWorkerCompleted += BkgWorker_RunWorkerCompleted;
 }
コード例 #3
0
 public ImportBSPViewModel()
 {
     prerequisites = new PrerequisiteViewModel();
     OnPropertyChanged("ArchitectureList");
     LoadJson();
 }
コード例 #4
0
 public MainWindowViewModel()
 {
     PreReqVM    = new PrerequisiteViewModel();
     WorkspaceVM = new WorkspaceViewModel();
 }