Пример #1
0
        public JadeViewModel()
        {
            _workspaceManager = new WorkspaceManager();
            _workspaceManager.WorkspaceOpened += delegate { OnPropertyChanged("Workspace"); };

            _editorModel = new JadeControls.EditorControl.ViewModel.EditorControlViewModel();
            _newWorkspaceCmd = new Commands.NewWorkspace(this);
            _openWorkspaceCmd = new Commands.OpenWorkspace(this);
            _saveWorkspaceCmd = new Commands.SaveWorkspace(this);
            _saveAsWorkspaceCmd = new Commands.SaveAsWorkspace(this);
            _closeWorkspaceCmd = new Commands.CloseWorkspace(this);
        }
Пример #2
0
 public JadeViewModel()
 {
     _editorModel = new JadeControls.EditorControl.ViewModel.EditorControlViewModel();
     _openWorkspaceCmd = new Commands.OpenWorkspace(this);
     _saveAsWorkspaceCmd = new Commands.SaveAsWorkspace(this);
 }