예제 #1
0
		/// <summary>
		/// Removes the project node.
		/// </summary>
		public void RemoveProjectNode(TestProjectTreeNode node)
		{
			if (Nodes.Contains(node)) {
				node.ImageIndexChanged -= TestProjectTreeNodeImageIndexChanged;
				node.Remove();
			}
		}
예제 #2
0
 /// <summary>
 /// Removes the project node.
 /// </summary>
 public void RemoveProjectNode(TestProjectTreeNode node)
 {
     if (Nodes.Contains(node))
     {
         node.ImageIndexChanged -= TestProjectTreeNodeImageIndexChanged;
         node.Remove();
     }
 }
예제 #3
0
 /// <summary>
 /// Removes the project node from the tree.
 /// </summary>
 void RemoveProjectNode(TestProjectTreeNode projectNode)
 {
     if (projectNode != null)
     {
         if (allTestsNode != null)
         {
             allTestsNode.RemoveProjectNode(projectNode);
         }
         else
         {
             projectNode.Remove();
         }
     }
 }
예제 #4
0
		/// <summary>
		/// Removes the project node from the tree.
		/// </summary>
		void RemoveProjectNode(TestProjectTreeNode projectNode)
		{
			if (projectNode != null) {
				if (allTestsNode != null) {
					allTestsNode.RemoveProjectNode(projectNode);
				} else {
					projectNode.Remove();
				}
			}
		}