Server/MarqueeLabel.cs
changeset 110 31e63bd07dfa
parent 100 7e02ac8b13ba
child 123 0df386e37e29
     1.1 --- a/Server/MarqueeLabel.cs	Sat Feb 07 13:51:30 2015 +0100
     1.2 +++ b/Server/MarqueeLabel.cs	Sat Feb 07 14:39:03 2015 +0100
     1.3 @@ -21,13 +21,28 @@
     1.4          private SizeF iSeparatorSize;
     1.5          private SizeF iScrollSize;
     1.6          private Font iFontInUse;
     1.7 +		private string iSeparator;
     1.8  
     1.9          [Category("Appearance")]
    1.10          [Description("Separator in our scrolling loop.")]
    1.11          [DefaultValue(" | ")]
    1.12          [Browsable(true), EditorBrowsable(EditorBrowsableState.Always)]
    1.13          [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
    1.14 -        public string Separator { get; set; }
    1.15 +        public string Separator
    1.16 +		{
    1.17 +			get
    1.18 +			{
    1.19 +				return iSeparator;
    1.20 +			}
    1.21 +			set
    1.22 +			{
    1.23 +				if (value != Separator)
    1.24 +				{
    1.25 +					iSeparator = value;
    1.26 +					OnTextChanged(EventArgs.Empty);
    1.27 +				}
    1.28 +			}
    1.29 +		}
    1.30  
    1.31          [Category("Behavior")]
    1.32          [Description("How fast is our text scrolling, in pixels per second.")]