資源簡(jiǎn)介
c#的入門小游戲,實(shí)現(xiàn)九宮格拼圖功能。
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?System.IO;
using?System.Data.OleDb;
/*
?*?Created?by?Recole
?*?2009/12/13
?*?http://www.fetso.cn
?*/
namespace?SmartPuzzle
{
????public?partial?class?Form1?:?Form
????{
????????public?Form1()
????????{
????????????InitializeComponent();
????????}
????????private?void?Form1_Load(object?sender?EventArgs?e)
????????{
????????????InitPuzzleGame();
????????}
????????#region?變量
????????///?
????????///?圖片文件
????????///?
????????private?FileInfo[]?pictureFiles?=?null;
????????///?
????????///?從pictures目錄中獲取圖片存放的路徑(p1.jpgp2.jpg...p9.jpg),這9張圖片就是拼圖用的
????????///?
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2012-08-30?11:31??SmartPuzzle_獅子\
?????目錄???????????0??2012-08-30?11:31??SmartPuzzle_獅子\Backup\
?????目錄???????????0??2012-08-30?11:31??SmartPuzzle_獅子\Backup\SmartPuzzle\
?????文件?????????922??2009-12-12?18:42??SmartPuzzle_獅子\Backup\SmartPuzzle.sln
?????文件???????15872??2009-12-13?19:13??SmartPuzzle_獅子\Backup\SmartPuzzle.suo
?????文件???????10563??2009-12-13?21:05??SmartPuzzle_獅子\Backup\SmartPuzzle\Form1.cs
?????文件???????13419??2009-12-13?21:05??SmartPuzzle_獅子\Backup\SmartPuzzle\Form1.Designer.cs
?????文件????????6010??2009-12-13?21:05??SmartPuzzle_獅子\Backup\SmartPuzzle\Form1.resx
?????文件?????????470??2009-12-13?17:05??SmartPuzzle_獅子\Backup\SmartPuzzle\Program.cs
?????目錄???????????0??2012-08-30?11:31??SmartPuzzle_獅子\Backup\SmartPuzzle\Properties\
?????文件????????1208??2009-12-12?18:42??SmartPuzzle_獅子\Backup\SmartPuzzle\Properties\AssemblyInfo.cs
?????文件????????2878??2009-12-12?18:42??SmartPuzzle_獅子\Backup\SmartPuzzle\Properties\Resources.Designer.cs
?????文件????????5612??2009-12-12?18:42??SmartPuzzle_獅子\Backup\SmartPuzzle\Properties\Resources.resx
?????文件????????1096??2009-12-12?18:42??SmartPuzzle_獅子\Backup\SmartPuzzle\Properties\Settings.Designer.cs
?????文件?????????249??2009-12-12?18:42??SmartPuzzle_獅子\Backup\SmartPuzzle\Properties\Settings.settings
?????文件????????3229??2009-12-13?20:59??SmartPuzzle_獅子\Backup\SmartPuzzle\SmartPuzzle.csproj
?????目錄???????????0??2012-08-30?11:31??SmartPuzzle_獅子\SmartPuzzle\
?????文件?????????923??2011-12-01?14:06??SmartPuzzle_獅子\SmartPuzzle.sln
?????文件???????29184??2011-12-18?21:47??SmartPuzzle_獅子\SmartPuzzle.suo
?????目錄???????????0??2012-08-30?11:31??SmartPuzzle_獅子\SmartPuzzle\bin\
?????目錄???????????0??2012-08-30?11:31??SmartPuzzle_獅子\SmartPuzzle\bin\Debug\
?????文件???????61440??2011-12-18?20:14??SmartPuzzle_獅子\SmartPuzzle\bin\Debug\AxInterop.WMPLib.dll
?????文件???????????0??2011-12-18?20:42??SmartPuzzle_獅子\SmartPuzzle\bin\Debug\db1.mdb
?????文件??????339968??2011-12-18?20:14??SmartPuzzle_獅子\SmartPuzzle\bin\Debug\Interop.WMPLib.dll
?????目錄???????????0??2012-08-30?11:31??SmartPuzzle_獅子\SmartPuzzle\bin\Debug\pictures\
?????文件?????????818??2009-12-12?21:45??SmartPuzzle_獅子\SmartPuzzle\bin\Debug\pictures\p1.jpg
?????文件????????1453??2009-12-12?21:45??SmartPuzzle_獅子\SmartPuzzle\bin\Debug\pictures\p2.jpg
?????文件?????????946??2009-12-12?21:45??SmartPuzzle_獅子\SmartPuzzle\bin\Debug\pictures\p3.jpg
?????文件????????2120??2009-12-12?21:45??SmartPuzzle_獅子\SmartPuzzle\bin\Debug\pictures\p4.jpg
?????文件????????3022??2009-12-12?21:45??SmartPuzzle_獅子\SmartPuzzle\bin\Debug\pictures\p5.jpg
?????文件????????1924??2009-12-12?21:45??SmartPuzzle_獅子\SmartPuzzle\bin\Debug\pictures\p6.jpg
............此處省略67個(gè)文件信息
評(píng)論
共有 條評(píng)論