I'm facing a problem with Color class. I declared variables correctly, everything is working fine, but once the indicator is applyed and I reboot NT (saving the WS) it returns color as [EMPTY].
Below some piece of code
private Color swingraycolorRES = Color.DimGray; private Color swingraycolorSUP = Color.DimGray; ... ..... ...... DrawRay("SLR"+iLastRayLabel.ToString(),swl,Low[swl],0,Low[swl],SwingRayColorSUP,SwingStyle,Thickness); DrawRay("SLR"+iLastRayLabel.ToString(),Math.Abs(swl),High[Math.Abs(swl)],0,High[Math.Abs(swl)],SwingRayColorRES,SwingStyle,Thickness);
Any idea or workaround?
Thanks in advance
Marce
Comment