資源簡介
簡單的點菜,可供參考。界面不是很好。。。。。。。。。。。

代碼片段和文件信息
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;
namespace?點菜系統
{
????public?partial?class?Cankanyijiez?:?Form
????{
????????public?Cankanyijiez()
????????{
????????????InitializeComponent();
????????}
???????private?string?time=System.DateTime.Now.ToShortDateString();
????????private?void?Cankanyijiez_Load(object?sender?EventArgs?e)
????????{
????????????oleDbSelectCommand1.CommandText?=?“select?*from?use_Menu1?where?時間?like‘“?+?time?+?“%‘?and?是否結賬=true“;
????????????oleDbDataAdapter1.Fill(dataSet1);
????????????if?(dataSet1.use_Menu1.Count?==?0)?button1.Enabled?=?false;
????????}
????????private?void?button1_Click(object?sender?EventArgs?e)
????????{
????????????if?(dataGridView1.SelectedRows.Count?==?0)?MessageBox.Show(“請選擇“);
????????????else
????????????{
????????????????Chakan41?f3?=?new?Chakan41();
????????????????f3.time?=?dataGridView1.SelectedRows[0].Cells[0].Value.ToString();
????????????????f3.numble?=?dataGridView1.SelectedRows[0].Cells[1].Value.ToString();
????????????????f3.label1.Text?=?“總計:“?+?dataGridView1.SelectedRows[0].Cells[2].Value.ToString()?+?“元“;
????????????????f3.Show();
????????????}
????????}
????????private?void?dateTimePicker1_ValueChanged(object?sender?EventArgs?e)
????????{
????????????time?=?dateTimePicker1.Value.Date.ToShortDateString();
????????????dataSet1.Clear();
????????????this.Cankanyijiez_Load(sender?e);
????????}
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1077??2010-05-30?13:42??點菜系統\點菜系統\app.config
?????文件?????299008??2010-05-30?14:47??點菜系統\點菜系統\bin\Debug\data1.mdb
?????文件?????229376??2010-05-30?14:34??點菜系統\點菜系統\bin\Debug\data2.mdb
?????文件?????217088??2010-05-26?14:35??點菜系統\點菜系統\bin\Debug\data2正本.mdb
?????文件?????417280??2010-05-30?14:46??點菜系統\點菜系統\bin\Debug\點菜系統.exe
?????文件???????1077??2010-05-30?13:42??點菜系統\點菜系統\bin\Debug\點菜系統.exe.config
?????文件?????349696??2010-05-30?14:46??點菜系統\點菜系統\bin\Debug\點菜系統.pdb
?????文件??????14328??2010-05-30?14:48??點菜系統\點菜系統\bin\Debug\點菜系統.vshost.exe
?????文件???????1077??2010-05-30?13:42??點菜系統\點菜系統\bin\Debug\點菜系統.vshost.exe.config
?????文件???????1615??2010-05-30?14:42??點菜系統\點菜系統\Cankanyijiez.cs
?????文件??????17039??2010-05-30?14:42??點菜系統\點菜系統\Cankanyijiez.Designer.cs
?????文件???????9422??2010-05-30?14:42??點菜系統\點菜系統\Cankanyijiez.resx
?????文件???????3130??2010-05-30?14:42??點菜系統\點菜系統\Chakan4.cs
?????文件??????28213??2010-05-30?14:42??點菜系統\點菜系統\Chakan4.Designer.cs
?????文件??????10644??2010-05-30?14:42??點菜系統\點菜系統\Chakan4.resx
?????文件????????781??2010-05-30?14:42??點菜系統\點菜系統\Chakan41.cs
?????文件??????17152??2010-05-30?14:42??點菜系統\點菜系統\Chakan41.Designer.cs
?????文件??????10022??2010-05-30?14:42??點菜系統\點菜系統\Chakan41.resx
?????文件???????7439??2010-05-30?14:42??點菜系統\點菜系統\Chakanjiemian1.cs
?????文件??????27476??2010-05-30?14:42??點菜系統\點菜系統\Chakanjiemian1.Designer.cs
?????文件??????36954??2010-05-30?14:42??點菜系統\點菜系統\Chakanjiemian1.resx
?????文件???????5103??2010-05-30?14:46??點菜系統\點菜系統\Chakanjiemian2.cs
?????文件??????22446??2010-05-30?14:46??點菜系統\點菜系統\Chakanjiemian2.Designer.cs
?????文件??????19128??2010-05-30?14:46??點菜系統\點菜系統\Chakanjiemian2.resx
?????文件???????3534??2010-05-30?14:42??點菜系統\點菜系統\Chakenjiemian3.cs
?????文件??????24760??2010-05-30?14:42??點菜系統\點菜系統\Chakenjiemian3.Designer.cs
?????文件??????10444??2010-05-30?14:42??點菜系統\點菜系統\Chakenjiemian3.resx
?????文件???????4264??2010-05-30?14:42??點菜系統\點菜系統\Chuli.cs
?????文件??????37859??2010-05-30?14:42??點菜系統\點菜系統\Chuli.Designer.cs
?????文件??????14294??2010-05-30?14:42??點菜系統\點菜系統\Chuli.resx
............此處省略177個文件信息
- 上一篇:數據結構與算法(C#)
- 下一篇:c#圖書管理系統設計論文
評論
共有 條評論