예제 #1
0
        private void recordsPicBox_Click(object sender, EventArgs e)
        {
            var f = new RecordsForm();

            Hide();
            f.ShowDialog();
            Show();
        }
예제 #2
0
        private void endGame()
        {
            Users.Instance.Add(new User(Program.userName, nameLevel, score));

            button2.Enabled     = false;
            button3.Enabled     = false;
            button4.Enabled     = false;
            button5.Enabled     = false;
            pictureBox1.Enabled = false;
            pictureBox2.Enabled = false;

            var f = new RecordsForm();

            Hide();
            f.ShowDialog();
            Show();
            Close();
        }