Пример #1
0
        private void btnPlay_Click(object sender, EventArgs e)
        {
            frmMain form = new frmMain(animationsActive, animationSpeed, keyMoves, multiMoves, this);

            form.bmpArray         = bmpArray;
            form.size             = size;
            form.animationsActive = animationsActive;
            form.Show();
            Hide();
            if (frmScore != null)
            {
                frmScore.Hide();
            }
        }