示例#1
0
文件: Form1.cs 项目: ipr9n/Tetris
        private void Form1_KeyDown(object sender, KeyEventArgs e)
        {
            tetrisGame.MoveBlock(e.KeyCode);

            if (!timer1.Enabled)
            {
                timer1.Start();
                tetrisGame.GetShape();
            }
        }