| |

VerySource

 Forgot password?
 Register
Search
View: 585|Reply: 0

C#单人贪吃蛇.zip下载

[Copy link]

1

Threads

1

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2022-5-14 21:18:12
| Show all posts |Read mode

https://pan.baidu.com/s/1ZieHX9BkaWEi1gjK3k9FLg
提取码:npm3
已测试。

/*******************************
* 作者:泰勒Peano
* 邮箱:656029714@qq.com
* CSDN地址:https://blog.csdn.net/weixin_44996090?spm=1001.2014.3001.5113
* Github地址:https://github.com/GoodZheng
* 时间:2020.11.28
******************************/
一、ControlForm窗体

namespace 贪吃蛇
{
    public partial class ControlFrm : Form
    {
        public ControlFrm()
        {
            InitializeComponent();
        }
        //“关于”按钮click
        private void button3_Click(object sender, EventArgs e)
        {
            AboutMe hf = new AboutMe();
            hf.ShowDialog();
        }
        //“玩法介绍”按钮click
        private void button2_Click(object sender, EventArgs e)
        {
            HowToPlay htp = new HowToPlay();
            htp.ShowDialog();
        }
        //“开始游戏”按钮click
        private void button1_Click(object sender, EventArgs e)
        {
            GameFrm gf = new GameFrm();
            gf.ShowDialog();
        }
    }
}


二、GameForm窗体
namespace 贪吃蛇
{
    public partial class GameFrm : Form
    {
        #region 构造函数
        public GameFrm()
        {
            InitializeComponent();
        }
........................
             }



Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list