Beispiel #1
0
        private void gridWorldToolStripMenuItem_Click(object sender, EventArgs e)
        {
            GridWorldForm gwf = new GridWorldForm();

            gwf.Show();
            this.Close();
        }
Beispiel #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            this.Hide();
            GridWorldForm gwf;
            NPuzzleForm   npf;

            if (radioButton2.Checked)
            {
                gwf = new GridWorldForm();
                gwf.ShowDialog();
                this.Show();
            }
            else
            {
                npf = new NPuzzleForm();
                npf.ShowDialog();
                this.Show();
            }
        }