public bool ChangeWorkspace(string WorkspaceIdentifier) { string result; result = _nav.WorkspaceChange(WorkspaceIdentifier); SetWSDefaults(result); WorkspaceCurrent = _dir.WorkspaceGet(WorkspaceIdentifier); WorkspaceCurrentTitle = WorkspaceCurrent.Title; return true; }
/// <remarks/> public void WorkspaceSaveAsync(Workspace workspace, object userState) { if ((this.WorkspaceSaveOperationCompleted == null)) { this.WorkspaceSaveOperationCompleted = new System.Threading.SendOrPostCallback(this.OnWorkspaceSaveOperationCompleted); } this.InvokeAsync("WorkspaceSave", new object[] { workspace}, this.WorkspaceSaveOperationCompleted, userState); }
public Workspace WorkspaceSave(Workspace workspace) { object[] results = this.Invoke("WorkspaceSave", new object[] { workspace}); return ((Workspace)(results[0])); }
/// <remarks/> public void WorkspaceSaveAsync(Workspace workspace) { this.WorkspaceSaveAsync(workspace, null); }
/// <remarks/> public System.IAsyncResult BeginWorkspaceSave(Workspace workspace, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("WorkspaceSave", new object[] { workspace}, callback, asyncState); }