private void tsbProbarConn_Click(object sender, EventArgs e) { //Previa Validacion ->> string strConn = ""; if (_dROBDs == null) { MessageBox.Show("Favor de Seleccionar una BD a [Probar Conexion]", "Atención" , MessageBoxButtons.OK, MessageBoxIcon.Error); return; } strConn = _dROBDs[7].ToString().Trim(); frmTestConection FRMM = new frmTestConection(strConn, "["+_dROBDs[6].ToString().Trim().ToUpper()+"]"); FRMM.ShowDialog(); }
private void btnTestConnection_Click(object sender, EventArgs e) { frmTestConection FRMM = new frmTestConection(this.txtCC.Text.Trim(), "[SECURITY BD]"); FRMM.ShowDialog(); }