public MainWindowViewModel() { ToolboxViewModel = new ToolboxViewModel(); ErrorsListViewModel = new ErrorsListViewModel(); PropertyInspectorViewModel = new PropertyInspectorViewModel(); DebugViewModel = new DebugViewModel(); OutputViewModel = new OutputViewModel(); WorkflowOutlineViewModel = new WorkflowOutlineViewModel(); StatusViewModel.SetText("Ready"); syncCtx = SynchronizationContext.Current; ToolboxViewModel.IsVisible = true; PropertyInspectorViewModel.IsVisible = true; OutputViewModel.IsVisible = true; ErrorsListViewModel.IsVisible = true; DebugViewModel.IsVisible = true; WorkflowOutlineViewModel.IsVisible = true; MessengerInstance.Register<RequestCloseProgramMessage>(this, OnRequestCloseProgramMessage); }
public MainWindowViewModel() { ToolboxViewModel = new ToolboxViewModel(); ErrorsListViewModel = new ErrorsListViewModel(); PropertyInspectorViewModel = new PropertyInspectorViewModel(); DebugViewModel = new DebugViewModel(); OutputViewModel = new OutputViewModel(); WorkflowOutlineViewModel = new WorkflowOutlineViewModel(); StatusViewModel.SetText("Ready"); syncCtx = SynchronizationContext.Current; ToolboxViewModel.IsVisible = true; PropertyInspectorViewModel.IsVisible = true; OutputViewModel.IsVisible = true; ErrorsListViewModel.IsVisible = true; DebugViewModel.IsVisible = true; WorkflowOutlineViewModel.IsVisible = true; MessengerInstance.Register <RequestCloseProgramMessage>(this, OnRequestCloseProgramMessage); }