For some reason after I change the color and save the workspace, the color is not saved.
I can't figure out what I did wrong. The code is attached:
I've added the following code for all the 4 colors:
[Browsable(false)]
public string Color1Serialize
{
get { return NinjaTrader.Gui.Design.SerializableColor.ToString( color1); }
set { color1= NinjaTrader.Gui.Design.SerializableColor.FromStrin g(value); }
}
[Description("Color of level 1")]
[GridCategory("Parameters")]
public Color Color1
{
get { return color1; }
set { color1 = value; }
}
Any ideas?

Comment