Beispiel #1
0
        public ProjectSelectDialog(Microsoft.TeamFoundation.Client.ProjectCollection projectCollection)
        {
            this.projectCollection = projectCollection;
            _treeStore             = new TreeStore(_name, _path);

            BuildGui();
            FillTreeView();
        }
 public Workspace(Microsoft.TeamFoundation.Client.ProjectCollection collection, string name,
                  string ownerName, string comment,
                  List <WorkingFolder> folders, string computer)
     : this(name, ownerName, comment, folders, computer)
 {
     this.ProjectCollection     = collection;
     this.VersionControlService = collection.GetService <RepositoryService>();
 }
        public ProjectSelectDialog(Microsoft.TeamFoundation.Client.ProjectCollection projectCollection)
        {
            this.projectCollection = projectCollection;
            _treeStore = new TreeStore(_name, _path);

            BuildGui();
            FillTreeView();
        }
Beispiel #4
0
 public WorkspaceAddEditDialog(Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, Microsoft.TeamFoundation.Client.ProjectCollection projectCollection)
 {
     this.projectCollection = projectCollection;
     if (workspace == null)
     {
         _action = DialogAction.Create;
     }
     else
     {
         this._workspace = workspace;
         _action         = DialogAction.Edit;
     }
     _workingFoldersStore = new ListStore(_tfsFolder, _localFolder);
     BuildGui();
 }
 public WorkspaceAddEditDialog(Microsoft.TeamFoundation.VersionControl.Client.Workspace workspace, Microsoft.TeamFoundation.Client.ProjectCollection projectCollection)
 {
     this.projectCollection = projectCollection;
     if (workspace == null)
     {
         _action = DialogAction.Create;
     }
     else
     {
         this._workspace = workspace;
         _action = DialogAction.Edit;
     }
     _workingFoldersStore = new ListStore(_tfsFolder, _localFolder);
     BuildGui();
 }
 public WorkspacesDialog(Microsoft.TeamFoundation.Client.ProjectCollection projectCollection)
 {
     this.projectCollection = projectCollection;
     _listStore = new ListStore(_name, _computer, _owner, _comment);
     BuildGui();
 }
 public Workspace(Microsoft.TeamFoundation.Client.ProjectCollection collection, WorkspaceData workspaceData)
     : this(collection, workspaceData.Name, workspaceData.Owner, workspaceData.Comment, workspaceData.WorkingFolders, workspaceData.Computer)
 {
 }
 public WorkspacesDialog(Microsoft.TeamFoundation.Client.ProjectCollection projectCollection)
 {
     this.projectCollection = projectCollection;
     _listStore             = new ListStore(_name, _computer, _owner, _comment);
     BuildGui();
 }