예제 #1
0
 public void StartTree()
 {
     while (keepGoing)
     {
         userResponse = UserMenu.SelectionMenu();
         RunOptionSelected(userResponse);
     }
     Environment.Exit(0);
 }
예제 #2
0
        private void CheckRoot()
        {
            userResponse = UserMenu.GetNodeToAdd();
            Node addedNode = new Node(userResponse);

            if (root == null)
            {
                root = addedNode;
            }
            else
            {
                AddNode(root, addedNode);
            }
        }
예제 #3
0
 private void SearchNodes()
 {
     userResponse = UserMenu.GetSearchResponse();
 }