Mmc ScopeNode
Inheritance: System.Windows.Forms.TreeNode
示例#1
0
 /// <summary>
 /// 创建节点
 /// </summary>
 /// <param name="nodeData"></param>
 /// <returns></returns>
 internal static ScopeTreeNode CreateScopeTreeNode(ScopeNodeData nodeData)
 {
     ScopeTreeNode node = new ScopeTreeNode();
     node.NodeData = nodeData;
     RebuildTreeNode(node);
     return node;
 }
示例#2
0
 /// <summary>
 /// 更新节点
 /// </summary>
 /// <param name="nodeData"></param>
 /// <param name="treeNode"></param>
 internal static void UpdateScopeTreeNode(ScopeNodeData nodeData, ScopeTreeNode treeNode)
 {
     treeNode.NodeData = nodeData;
     RebuildTreeNode(treeNode);
 }
示例#3
0
 private static void RebuildTreeNode(ScopeTreeNode treeNode)
 {
     NodeData nodeData = treeNode.NodeData;
     
     treeNode.Text = nodeData.DisplayName;
 }