private void databaseConnectionToolStripMenuItem_Click(object sender, EventArgs e) { dbConnectionForm dbForm = new dbConnectionForm(); DialogResult res = dbForm.ShowDialog(); if (res == System.Windows.Forms.DialogResult.OK) { db = new DataPipe(); if (CheckIfInitialized()) { RefreshFontList(); RefreshSubList(); RefreshLangList(); } else { MessageBox.Show("Franken+ was unable to initialize properly. Please address the following issues and then restart Franken+:\r\n\r\n" + InitializationError); } } }