資源簡介
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Linq;
using?System.Text;
using?System.Windows.Forms;
using?System.Drawing.Imaging;
using?System.IO;
using?System.Media;
namespace?Chess
{
????//棋子枚舉類型
????public?enum?Piece
????{
????????無子?=?0
????????紅車?=?1?紅馬?=?2?紅相?=?3?紅士?=?4?紅帥?=?5?紅炮?=?6?紅卒?=?7
????????藍(lán)車?=?8?藍(lán)馬?=?9?藍(lán)象?=?10?藍(lán)士?=?11?藍(lán)將?=?12?藍(lán)炮?=?13?藍(lán)兵?=?14
????}
????//走棋方枚舉類型
????public?enum?Player
????{
????????無?=?0?紅?=?1?藍(lán)?=?2
????}
????//主窗口類
????public?partial?class?FormMain?:?Form
????{
????????//保存象棋棋盤的所有棋子值(棋盤共10行9列,但0行0列保留不用)
????????private?Piece[]?_chess?=?new?Piece[11?10];
????????//保存所有的走棋步驟(List對象)
????????private?List?_stepList?=?new?List();
????????//保存棋盤(細(xì)框)的左上角坐標(biāo)
????????private?Point?_leftTop?=?new?Point(60?60);
????????//保存棋盤格子的行高和列寬
????????private?int?_rowHeight?=?60;
????????private?int?_colWidth?=?60;
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????24064??2020-05-12?15:19??Chess\Chess\bin\Debug\Chess.exe
?????文件??????42496??2020-05-12?15:19??Chess\Chess\bin\Debug\Chess.pdb
?????文件??????14328??2020-05-12?13:30??Chess\Chess\bin\Debug\Chess.vshost.exe
?????文件????????490??2018-08-09?14:42??Chess\Chess\bin\Debug\Chess.vshost.exe.manifest
????..A.SH.????????47??2020-04-13?14:28??Chess\Chess\bin\Debug\desktop.ini
?????文件??????63289??2011-02-22?21:37??Chess\Chess\bin\Debug\desktop.jpg
?????文件?????127076??2010-07-30?11:01??Chess\Chess\bin\Debug\Sounds\begin.wav
?????文件???????3362??2010-07-30?11:01??Chess\Chess\bin\Debug\Sounds\drop.wav
?????文件??????16992??2010-07-30?11:01??Chess\Chess\bin\Debug\Sounds\eat.wav
?????文件??????43402??2010-07-30?11:01??Chess\Chess\bin\Debug\Sounds\over.wav
?????文件???????4560??2007-12-28?09:52??Chess\Chess\bin\Debug\紅卒.bmp
?????文件???????4560??2007-12-28?09:52??Chess\Chess\bin\Debug\紅士.bmp
?????文件???????4560??2007-12-28?09:52??Chess\Chess\bin\Debug\紅帥.bmp
?????文件???????5046??1999-11-04?14:43??Chess\Chess\bin\Debug\紅方頭像.bmp
?????文件???????4560??2007-12-28?09:52??Chess\Chess\bin\Debug\紅炮.bmp
?????文件???????4560??2007-12-28?09:52??Chess\Chess\bin\Debug\紅相.bmp
?????文件???????4560??2007-12-28?09:52??Chess\Chess\bin\Debug\紅車.bmp
?????文件???????4560??2007-12-28?09:52??Chess\Chess\bin\Debug\紅馬.bmp
?????文件???????4560??2007-12-28?09:52??Chess\Chess\bin\Debug\藍(lán)兵.bmp
?????文件???????4560??2007-12-28?09:52??Chess\Chess\bin\Debug\藍(lán)士.bmp
?????文件???????4560??2007-12-28?09:52??Chess\Chess\bin\Debug\藍(lán)將.bmp
?????文件???????5046??1999-11-04?14:46??Chess\Chess\bin\Debug\藍(lán)方頭像.bmp
?????文件???????4560??2007-12-28?09:52??Chess\Chess\bin\Debug\藍(lán)炮.bmp
?????文件???????4560??2007-12-28?09:52??Chess\Chess\bin\Debug\藍(lán)象.bmp
?????文件???????4560??2007-12-28?09:52??Chess\Chess\bin\Debug\藍(lán)車.bmp
?????文件???????4560??2007-12-28?09:52??Chess\Chess\bin\Debug\藍(lán)馬.bmp
?????文件???????3771??2020-05-09?19:52??Chess\Chess\Chess.csproj
?????文件??????41898??2020-05-12?15:19??Chess\Chess\FormMain.cs
?????文件???????6927??2020-05-12?14:53??Chess\Chess\FormMain.Designer.cs
?????文件???????6420??2020-05-12?14:53??Chess\Chess\FormMain.resx
............此處省略28個文件信息
- 上一篇:C# csc編譯 運(yùn)行
- 下一篇:C#抽簽小程序(可用于隨機(jī)抽獎)
評論
共有 條評論