public ScenarioSelectorCCProjectionsForm(TimeSeriesDatabase db) { InitializeComponent(); m_db = db; scenarioCCProjections1 = new ScenarioSelectorCCProjections(m_db); scenarioCCProjections1.Parent = tabPageProjections; scenarioCCProjections1.Dock = DockStyle.Fill; scenarioCCReference1 = new ScenarioSelectorCCProjections(); scenarioCCReference1.Parent = tabPageReference; scenarioCCReference1.Dock = DockStyle.Fill; }