private void Convert(SeqNode sParent, TreeNode tParent)
 {
     foreach (SeqNode sChild in sParent.getChildren())
     {
         TreeNode tChild = new TreeNode();
         tChild.Text = "" + sChild.dept + " " + sChild.courseNum;
         tParent.Nodes.Add(tChild);
         Convert(sChild, tChild);
     }
 }
 public void Convert(SeqNode start)
 {
     refresh();
     foreach (SeqNode sRoot in start.getChildren())
     {
         TreeNode tRoot = new TreeNode();
         tRoot.Text = "" + sRoot.dept + " " + sRoot.courseNum;
         seqView.Nodes.Add(tRoot);
         Convert(sRoot, tRoot);
     }
 }
 public void convertWithCompletes(SeqNode start)
 {
     refresh();
     foreach (SeqNode sRoot in start.getChildren())
     {
         TreeNode tRoot = new TreeNode();
         tRoot.Text = "" + sRoot.dept + " " + sRoot.courseNum;
         if (sRoot.complete == true)
         {
             tRoot.ForeColor = Color.DarkGreen;
             tRoot.Text += " (Complete)";
         }
         else
         {
             tRoot.ForeColor = Color.DarkRed;
             tRoot.Text += " (Incomplete)";
         }
         seqView.Nodes.Add(tRoot);
         convertWithCompletes(sRoot, tRoot);
     }
 }
 private void convertWithCompletes(SeqNode sParent, TreeNode tParent)
 {
     foreach (SeqNode sChild in sParent.getChildren())
     {
         TreeNode tChild = new TreeNode();
         tChild.Text = "" + sChild.dept + " " + sChild.courseNum;
         if (sChild.complete == true)
         {
             tChild.ForeColor = Color.DarkGreen;
             tChild.Text += " (Complete)";
         }
         else
         {
             tChild.ForeColor = Color.DarkRed;
             tChild.Text += " (Incomplete)";
         }
         tParent.Nodes.Add(tChild);
         convertWithCompletes(sChild, tChild);
     }
 }