コード例 #1
0
        public void ShowEditConnectionStringDialog()
        {
            ServerSettingsForm editForm = new ServerSettingsForm();

            if (editForm.ShowDialog(this) == DialogResult.OK)
            {
                Connect();
            }
        }
コード例 #2
0
 public void ShowEditConnectionStringDialog()
 {
     ServerSettingsForm editForm = new ServerSettingsForm();
     if(editForm.ShowDialog(this) == DialogResult.OK)
     {
         Connect();
     }
 }