private void bTestConnection_Click(object sender, System.EventArgs e) { if (DesignerUtility.TestConnection(this.cbDataProvider.Text, tbConnection.Text)) { MessageBox.Show("Connection succeeded!", "Test Connection"); } }