using System; using System.Drawing; using System.Runtime.Serialization; using System.Windows.Forms; namespace RSSReader { class RSSTreeNode : TreeNode { private string name; private string text; public RSSTreeNode(string text) { this.text = text; } public new string Name { get { return name; } set { name = value; } } public new string Text { get { if (text == string.Empty || text.Trim() == null) return "Node"; Color textColor = Color.Blue; if(text != null) return } set { text = value; } } } }