Forex_Strategy_Builder.Dialogs.Generator.Top10Layout.Top10Layout C# (CSharp) Method

Top10Layout() public method

Constructor
public Top10Layout ( int maxStrategies ) : System
maxStrategies int
return System
        public Top10Layout(int maxStrategies)
        {
            toolTip = new ToolTip();

            this.maxStrategies = maxStrategies;
            this.BackColor = LayoutColors.ColorControlBack;

            top10Holder = new SortableDictionary<int,Top10StrategyInfo>();

            flowLayoutStrategy = new FlowLayoutPanel();
            VScrollBarStrategy = new VScrollBar();

            // FlowLayoutStrategy
            flowLayoutStrategy.Parent = this;
            flowLayoutStrategy.AutoScroll = false;
            flowLayoutStrategy.BackColor = LayoutColors.ColorControlBack;

            //VScrollBarStrategy
            VScrollBarStrategy.Parent = this;
            VScrollBarStrategy.TabStop = true;
            VScrollBarStrategy.Scroll += new ScrollEventHandler(VScrollBar_Scroll);
        }