資源簡介
用c#編的買彩票的小游戲
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
namespace?lottery
{
????public?partial?class?FormAnswer?:?Form
????{
????????public?FormAnswer()
????????{
????????????InitializeComponent();
????????}
????????private?void?btnExit_Click(object?sender?EventArgs?e)
????????{
????????????Close();
????????}
????????private?void?FormAnswer_Load(object?sender?EventArgs?e)
????????{
????????????int?nKey=0nBmp;
????????????string?strKey;
????????????//讀取購買獎票的號碼
????????????for?(int?nStep?=?0;?nStep?????????????{
????????????????FormLottery.myTicket.GetElem(nStepref?nKey);
????????????????nBmp?=?nKey?+?1;
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????835584??2011-08-27?20:23??lottery.exe
-----------?---------??----------?-----??----
???????????????835584????????????????????1
- 上一篇:數據庫設計60個技巧
- 下一篇:ADO數據庫應用程序開發——圖書管理系統
評論
共有 條評論