Ejemplo n.º 1
0
        public bool ChangeWorkspace(string WorkspaceIdentifier)
        {
            string result;
            result = _nav.WorkspaceChange(WorkspaceIdentifier);
            SetWSDefaults(result);
            WorkspaceCurrent = _dir.WorkspaceGet(WorkspaceIdentifier);
            WorkspaceCurrentTitle = WorkspaceCurrent.Title;

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