private void configurationToolStripMenuItem_Click(object sender, EventArgs e) { FormConfiguration Config = new FormConfiguration(); try { Config.ShowDialog(); } catch (Exception ex) { MessageBox.Show("ERROR: " + ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } finally { Config.Dispose(); } }