Exemplo n.º 1
0
 private void SetTreeNode(ITreeNodeOperation nodeopt, ITriStateTreeViewContorller dtv)
 {
     if (null != nodeopt.SubSysNode)
     {
         dtv.AddNode(nodeopt.SubSysNode, new TreeNodeMouseClickEventHandler(nodeopt.HandleNodeClick), new KeyEventHandler(nodeopt.HandleKeyDown), new NodeLabelEditEventHandler(nodeopt.HandleLabelEdit));
         dtv.AddNodeCheckEvent(nodeopt.SubSysNode, new EventHandler <TriEventArgs>(nodeopt.HandleNodeCheck));
         dtv.AddNodeDragdropEvent(nodeopt.SubSysNode, new EventHandler(nodeopt.HandleNodeDragdrop));
         dtv.AddImageList(nodeopt.IconList);
     }
 }
Exemplo n.º 2
0
 private void SetTreeNodes(ITriStateTreeViewContorller dtv)
 {
 }