示例#1
0
        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();
            }
        }
示例#2
0
        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();
            }
        }