private void btnPersistence_Click(object sender, EventArgs e) { FlowLayoutPanel flp = new FlowLayoutPanel(); Size controlSize = new Size(600, 200); foreach (WtsSeriesAnalyzer anal in m_seriesAnalyzers) { SI.Controls.GroupBox gb = new SI.Controls.GroupBox(); gb.Text = anal.Name; gb.Size = controlSize; SI.Controls.SimpleWtsColumnChart swc = new SI.Controls.SimpleWtsColumnChart(); swc.Dock = DockStyle.Fill; gb.Controls.Add(swc); //QC.Common.WtsAnalysis.OverallPersistenceDisplay.setupPersistenceAvgLongShortChart(swc, anal); //flp.Controls.Add(gb); } flp.DisplayInShowForm("Avg holding period for strategies on individual currencies"); }