I save the workspace with the indicator but when I open the workspace the indicator LevelColor property always is empty.
What's wrong?
#region Variables
private Color color = Color.Magenta;
#endregion
// Here a I use the var
protected override void OnBarUpdate()
{
if (LevelColor == Color.Red)
...
}
#region Properties
[Description("Level Color")]
[GridCategory("Parameters")]
[Gui.Design.DisplayName("LevelColor")]
public Color LevelColor
{
get { return color; }
set
{
color = value;
}
}
#endregion
Best Regards
David
Comment