예제 #1
0
        public bool ChangeWorkspace(string WorkspaceIdentifier)
        {
            string result;
            result = _nav.WorkspaceChange(WorkspaceIdentifier);
            SetWSDefaults(result);
            WorkspaceCurrent = _dir.WorkspaceGet(WorkspaceIdentifier);
            WorkspaceCurrentTitle = WorkspaceCurrent.Title;

            return true;
        }
예제 #2
0
 /// <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);
 }
예제 #3
0
 public Workspace WorkspaceSave(Workspace workspace)
 {
     object[] results = this.Invoke("WorkspaceSave", new object[] {
                 workspace});
     return ((Workspace)(results[0]));
 }
예제 #4
0
 /// <remarks/>
 public void WorkspaceSaveAsync(Workspace workspace)
 {
     this.WorkspaceSaveAsync(workspace, null);
 }
예제 #5
0
 /// <remarks/>
 public System.IAsyncResult BeginWorkspaceSave(Workspace workspace, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("WorkspaceSave", new object[] {
                 workspace}, callback, asyncState);
 }