Forex_Strategy_Builder.Info_Panel.SetColors C# (CSharp) Method

SetColors() public method

Sets the panel colors
public SetColors ( ) : void
return void
        public void SetColors()
        {
            colorCaptionBack         = LayoutColors.ColorCaptionBack;
            colorBackroundEvenRows   = LayoutColors.ColorEvenRowBack;
            colorBackroundWarningRow = LayoutColors.ColorWarningRowBack;
            colorTextWarningRow      = LayoutColors.ColorWarningRowText;
            colorBackroundOddRows    = LayoutColors.ColorOddRowBack;

            brushCaption = new SolidBrush(LayoutColors.ColorCaptionText);
            brushParams  = new SolidBrush(LayoutColors.ColorControlText);
            brushData    = new SolidBrush(LayoutColors.ColorControlText);

            penBorder    = new Pen(Data.GetGradientColor(LayoutColors.ColorCaptionBack, -LayoutColors.DepthCaption), border);

            return;
        }