Beispiel #1
0
        private void purinBtn_Click(object sender, EventArgs e)
        {
            this.Hide();
            fM2.musicStop();
            MyForm mf = new MyForm();

            mf.ShowDialog();
            this.Close();
        }
Beispiel #2
0
 public Game(MyForm form)
 {
     window         = form;
     timer          = new System.Timers.Timer();
     movement       = 3;
     timer.Interval = 100;
     timer.Elapsed += UpdateGame;
     timer.Start();
     playingGame = false;
 }