changeset 1:258ef411e698

Remove Tag property that has been added in .Net 2.0 no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Sat, 27 Dec 2008 18:32:23 +0000
parents d860e2c49f43
children b829a3320688
files Windows/Forms/ColorableStatusBarPanel.cs
diffstat 1 files changed, 1 insertions(+), 8 deletions(-) [+]
line diff
     1.1 --- a/Windows/Forms/ColorableStatusBarPanel.cs	Fri Dec 19 11:13:48 2008 +0000
     1.2 +++ b/Windows/Forms/ColorableStatusBarPanel.cs	Sat Dec 27 18:32:23 2008 +0000
     1.3 @@ -13,7 +13,6 @@
     1.4  		//Note: We keep all external references consistant with .Net and use the American spelling of Colour
     1.5  		private Color textColour;
     1.6  		private SolidBrush brush;
     1.7 -		private object tag;
     1.8  
     1.9  		public ColorableStatusBarPanel() : base()
    1.10  		{
    1.11 @@ -42,15 +41,9 @@
    1.12  			Color = SystemColors.WindowText;
    1.13  		}
    1.14  
    1.15 -		public object Tag
    1.16 -		{
    1.17 -			get { return tag; }
    1.18 -			set { tag = value; }
    1.19 -		}
    1.20 -
    1.21  		public string TagString
    1.22  		{
    1.23 -			get { return (tag == null ? "" : tag.ToString()); }
    1.24 +			get { return (Tag == null ? "" : Tag.ToString()); }
    1.25  		}
    1.26  	}
    1.27  }