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 wrap: on
line diff
--- a/Windows/Forms/ColorableStatusBarPanel.cs	Fri Dec 19 11:13:48 2008 +0000
+++ b/Windows/Forms/ColorableStatusBarPanel.cs	Sat Dec 27 18:32:23 2008 +0000
@@ -13,7 +13,6 @@
 		//Note: We keep all external references consistant with .Net and use the American spelling of Colour
 		private Color textColour;
 		private SolidBrush brush;
-		private object tag;
 
 		public ColorableStatusBarPanel() : base()
 		{
@@ -42,15 +41,9 @@
 			Color = SystemColors.WindowText;
 		}
 
-		public object Tag
-		{
-			get { return tag; }
-			set { tag = value; }
-		}
-
 		public string TagString
 		{
-			get { return (tag == null ? "" : tag.ToString()); }
+			get { return (Tag == null ? "" : Tag.ToString()); }
 		}
 	}
 }