private void button1_Click(object sender, System.EventArgs e) { NewDomainConfigWizard frm = new NewDomainConfigWizard() ; frm.ShowDialog(); }
private void OpenNewConnectionWizard() { NewDomainConfigWizard wizard = new NewDomainConfigWizard() ; if (wizard.ShowDialog() != DialogResult.Cancel) { ListConnections(); if (connectionListView.Items.Count > 0) { connectionListView.SelectedItems.Clear() ; connectionListView.Items[0].Selected = true; } } }