コード例 #1
0
 private void button1_Click(object sender, System.EventArgs e)
 {
     NewDomainConfigWizard frm = new NewDomainConfigWizard() ;
     frm.ShowDialog();
 }
コード例 #2
0
 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;
         }
     }
 }