private void editTabPages() { using (EditTabPagesDialog dlg = new EditTabPagesDialog(tabSettings)) { this.ParentForm.Site.Container.Add(dlg); dlg.ShowDialog(this); FillTabSelectComboBox(); if (tabSelectComboBox.Items.Count > 0) { tabSelectComboBox.SelectedIndex = selectedTabIndex = 0; } } }
private void editTabPages() { using( EditTabPagesDialog dlg = new EditTabPagesDialog( tabSettings) ) { this.ParentForm.Site.Container.Add( dlg ); dlg.ShowDialog(this); FillComboBox(); if ( tabSelectComboBox.Items.Count > 0 ) tabSelectComboBox.SelectedIndex = selectedTabIndex = 0; } }