private void DataBaseNameSelector_Load(object sender, EventArgs e) { connection = DBReader.connectionCreatorWithNoDatabase(); try { DBReader.connectionOpen(connection); comboBoxFill(); } catch (MySqlException ex) { MessageBox.Show(ex.Message); } finally { DBReader.connectionEnd(connection); } }