예제 #1
0
        private void OptionsButton_Click(object sender, EventArgs e)
        {
            OptionsForm optionsForm = Application.OpenForms["OptionsForm"] as OptionsForm;

            if (optionsForm != null)
            {
                optionsForm.Focus();
                return;
            }

            optionsForm = new OptionsForm();
            optionsForm.Show(this);
        }
예제 #2
0
        private void button4_Click(object sender, EventArgs e)
        {
            OptionsForm form = new OptionsForm();

            form.Show();
        }