Exemplo n.º 1
0
 public void Add(AutomationTreeNode node)
 {
     if (node is AutomationWindowNode)
     {
         (this as AutomationActionNode).Windows.Add(node as AutomationWindowNode);
     }
     else
     {
         (this as AutomationWindowNode).Actions.Add(node as AutomationActionNode);
     }
 }
Exemplo n.º 2
0
 public AutomationTree(MainWindow window)
 {
     RootNode    = new AutomationRootNode(window);
     CurrentNode = RootNode;
 }