Beispiel #1
0
        private void buttonBack_Click(object sender, EventArgs e)
        {
            OptionMenu obj = new OptionMenu();

            this.Hide();
            obj.ShowDialog();
            this.Close();
        }
Beispiel #2
0
        private void buttonCancel_Click(object sender, EventArgs e)
        {
            OptionMenu Op = new OptionMenu();

            this.Hide();
            Op.ShowDialog();
            this.Close();
        }
Beispiel #3
0
        private void buttonMainMenu_Click(object sender, EventArgs e)
        {
            if (File.Exists(@"..\" + "temp.txt"))
            {
                File.Delete(@"..\" + "temp.txt");
            }
            OptionMenu obj = new OptionMenu();

            this.Hide();
            obj.ShowDialog();
            this.Close();
        }