ToTree() public method

Converts the condition into a viewable TreeNode for the Criteria Editor
public ToTree ( ) : TreeNode
return System.Windows.Forms.TreeNode
        /// <summary>
        /// Used by the parser to add found ranks to the list
        /// </summary>
        /// <param name="A">The Rank Object To Add</param>
        public static void AddRank(Rank A)
        {
            // Add rank to indiviual rank collection
            Ranks.Add(A);

            // Add the award to the overall awards cache
            Awards.Add(A.Id.ToString(), A);

            // Build the award tree here to Initially check for condition errors
            A.ToTree();
        }
        /// <summary>
        /// Used by the parser to add found ranks to the list
        /// </summary>
        /// <param name="A">The Rank Object To Add</param>
        public static void AddRank(Rank A)
        {
            // Add rank to indiviual rank collection
            Ranks.Add(A);

            // Add the award to the overall awards cache
            Awards.Add(A.Id.ToString(), A);

            // Build the award tree here to Initially check for condition errors
            A.ToTree();
        }