public BinaryNode(string description)
 {
     Description = description;
     FalseNode   = null;
     TrueNode    = null;
 }
Example #2
0
 public BinaryTree(string description, string truthyDesc, string falsyDesc)
 {
     btnRoot           = new BinaryNode(description);
     btnRoot.TrueNode  = new BinaryNode(truthyDesc);
     btnRoot.FalseNode = new BinaryNode(falsyDesc);
 }