private void btnHelp_Click(object sender, EventArgs e) { frmConn fc = new frmConn(cbbDbtype.SelectedIndex); fc.ShowDialog(); if (fc.chosed) { cbbDbtype.SelectedIndex = fc.index; txtConn.Text = fc.conn; } }