private void buttonAccept_Click(object sender, EventArgs e) { provider.FactoryName = comboBoxDatabaseDriver.SelectedItem + ""; provider.ConnecionString = textBoxConnection.Text; provider.Statement = textBoxStatement.Text; provider.Update(); accept(); }
private void buttonAccept_Click(object sender, EventArgs e) { if (udd != null) { udd.Set(); } provider.Statement = textBoxStatement.Text; setParametres(); provider.Update(); accept(); showNumberDelegate(); showTableDelegate(checkBoxShowData.Checked); }