Ejemplo n.º 1
0
 /// <summary>
 /// Adds items to the tree view for each build file that exists
 /// in all the solution's subprojects.
 /// </summary>
 /// <param name="solution">A solution containing projects.</param>
 public void AddSolution(ISolution solution)
 {
     if (InvokeRequired)
     {
         AddSolutionInvoker invoker = new AddSolutionInvoker(AddSolution);
         Invoke(invoker);
     }
     else
     {
         foreach (IProject project in solution.Projects)
         {
             AddProject(project);
         }
     }
 }
Ejemplo n.º 2
0
		/// <summary>
		/// Adds items to the tree view for each build file that exists
		/// in all the solution's subprojects.
		/// </summary>
		/// <param name="solution">A solution containing projects.</param>
		public void AddSolution(ISolution solution)
		{
			if (InvokeRequired) {
				AddSolutionInvoker invoker = new AddSolutionInvoker(AddSolution);
				Invoke(invoker);
			} else {
				foreach (IProject project in solution.Projects) {
					AddProject(project);
				}
			}
		}