BF2Statistics.MedalData.Rank.ToTree C# (CSharp) Method

ToTree() public method

Converts the condition into a viewable TreeNode for the Criteria Editor
public ToTree ( ) : TreeNode
return System.Windows.Forms.TreeNode
        public TreeNode ToTree()
        {
            if (Conditions == null)
                return null;
            return Conditions.ToTree();
        }

Usage Example

Ejemplo n.º 1
0
        /// <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();
        }
All Usage Examples Of BF2Statistics.MedalData.Rank::ToTree