private void tabSections_ControlRemoved(object sender, ControlEventArgs e) { if (e.Control is SectionPage) { SectionPage sectionPage = e.Control as SectionPage; m_manager.RemoveSection(sectionPage.Section); } }