文件名称:huarongdao
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2013-06-17
- 文件大小:
- 1.29mb
- 下载次数:
- 0次
- 提 供 者:
- tpu****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
通过游戏可了解到一些基础知识,比如:如何记录选中的控件ID,初始化时设置各个位置的可用状态,初始化各人物方格位置,设置各方格的初始图片,设置各方格的初始位置,设置最后一行的首尾位置不可用,设置最后一行的中间两个位置可用,通过按键盘上的上、下、左、右键来移动人物方格,定义每个人物方格的大小, 共有x*y(x=4, y=5)个人物方格
相关的代码注释:
PStyle = PStyles.P2V //记录方格样式
pl = panel1 //记录选中的控件ID
PosX = intX(panel1) //记录选中控件在坐标数组中的列索引
PosY = intY(panel1) //记录选中控件在坐标数组中的行索引-Through the game can be learned some of the basics, such as: how to record the selected widget ID, set when initializing the availability status of each location, initialize each character grid position, the parties set the initial picture fr a me, set the initial position of the parties grid, Set the last line of both location is unavailable, set the last line in the middle of two positions available on the keyboard by pressing the up, down, left, or right to move the character box to define the size of each character grid, a total of x* y (x = 4, y = 5) personal matter related to grid code comments: PStyle = PStyles.P2V //record checkered pattern pl = panel1 // record selected widget ID PosX = intX (panel1) // Record selected widget in the coordinate array column index PosY = intY (panel1) // Record the selected widget in the coordinate array row index
相关的代码注释:
PStyle = PStyles.P2V //记录方格样式
pl = panel1 //记录选中的控件ID
PosX = intX(panel1) //记录选中控件在坐标数组中的列索引
PosY = intY(panel1) //记录选中控件在坐标数组中的行索引-Through the game can be learned some of the basics, such as: how to record the selected widget ID, set when initializing the availability status of each location, initialize each character grid position, the parties set the initial picture fr a me, set the initial position of the parties grid, Set the last line of both location is unavailable, set the last line in the middle of two positions available on the keyboard by pressing the up, down, left, or right to move the character box to define the size of each character grid, a total of x* y (x = 4, y = 5) personal matter related to grid code comments: PStyle = PStyles.P2V //record checkered pattern pl = panel1 // record selected widget ID PosX = intX (panel1) // Record selected widget in the coordinate array column index PosY = intY (panel1) // Record the selected widget in the coordinate array row index
(系统自动生成,下载前可以参看下载内容)
下载文件列表
huarongdao\HuaRongDao\app.config
..........\..........\Form1.cs
..........\..........\Form1.Designer.cs
..........\..........\Form1.resx
..........\..........\HuaRongDao.csproj
..........\..........\image\001.jpg
..........\..........\.....\002.jpg
..........\..........\.....\003.jpg
..........\..........\.....\004.jpg
..........\..........\.....\005.jpg
..........\..........\.....\006.jpg
..........\..........\.....\007.jpg
..........\..........\.....\008.jpg
..........\..........\.....\009.jpg
..........\..........\.....\010.jpg
..........\..........\.....\a1.jpg
..........\..........\.....\a10.jpg
..........\..........\.....\a2.jpg
..........\..........\.....\a3.jpg
..........\..........\.....\a4.jpg
..........\..........\.....\a5.jpg
..........\..........\.....\a6.jpg
..........\..........\.....\a7.jpg
..........\..........\.....\a8.jpg
..........\..........\.....\a9.jpg
..........\..........\Program.cs
..........\..........\...perties\AssemblyInfo.cs
..........\..........\..........\Resources.Designer.cs
..........\..........\..........\Resources.resx
..........\..........\..........\Settings.Designer.cs
..........\..........\..........\Settings.settings
..........\HuaRongDao.sln
..........\HuaRongDao.suo
..........\..........\image
..........\..........\Properties
..........\HuaRongDao
huarongdao