private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            WorkspaceManager workspaceManager = WorkspaceManager.GetWorkspaceManager(dockLayoutManager) as WorkspaceManager;

            workspaceManager.LoadWorkspace("workspace1", "layout.xml");
            workspaceManager.ApplyWorkspace("workspace1");
        }
コード例 #2
0
ファイル: FloodRunner.cs プロジェクト: vtaran/Dynamo
 public WorkspaceModel LoadWorkspace(string filePath)
 {
     return(WorkspaceManager.LoadWorkspace(filePath));
 }
コード例 #3
0
 public WorkspaceViewModel(string path)
 {
     this.Workspace = WorkspaceManager.LoadWorkspace(path);
     Path           = path;
 }