private void btnConnect_Click(object sender, EventArgs e) { GetListOfTables(); DbQueries queries = new DbQueries(tablesList, myConnectionString); queries.ShowDialog(); }