All pastes #232125 Raw Edit

Shin-Ra

public text v1 · immutable
·published 2006-11-01 06:33 UTC
rendered paste body
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; }
        }
    }
}