private void method_11(XmlNode xmlNode_0)
        {
            ISymbol symbol  = null;
            ISymbol symbol2 = null;
            string  str     = "";

            for (int i = 0; i < xmlNode_0.Attributes.Count; i++)
            {
                XmlAttribute attribute = xmlNode_0.Attributes[i];
                switch (attribute.Name.ToLower())
                {
                case "description":
                    str = attribute.Value;
                    break;

                case "symbol":
                    symbol = this.method_7(attribute.Value);
                    break;

                case "backsymbol":
                    symbol2 = this.method_7(attribute.Value);
                    break;
                }
            }
            if (symbol != null)
            {
                YTLegendItem item     = new YTLegendItem(symbol, str, symbol2);
                object[]     objArray = new object[] { item.Symbol, item.Description };
                this.renderInfoListView1.Add(objArray).Tag = item;
            }
        }
 private void method_12(int int_1, object object_0)
 {
     if (this.OnValueChange != null)
     {
         YTLegendItem tag = this.renderInfoListView1.Items[int_1].Tag as YTLegendItem;
         tag.Description = this.renderInfoListView1.Items[int_1].SubItems[1].Text;
         ListViewItem item2 = this.renderInfoListView1.Items[int_1];
         tag.Symbol = (item2 as ListViewItemEx).Style as ISymbol;
         this.OnValueChange();
     }
 }