private void buttonDBSettings_Click(object sender, EventArgs e)
 {
     DatabaseSettingsForm dbSettings = new DatabaseSettingsForm(this.patComp);
     dbSettings.TopMost = this.TopMost;
     dbSettings.ShowDialog();
 }
 private void databaseSettingsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     DatabaseSettingsForm dbSettings = new DatabaseSettingsForm(this.patComp);
     dbSettings.TopMost = this.TopMost;
     dbSettings.ShowDialog();
 }