freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

畢業(yè)設(shè)計(jì)-汽運(yùn)售票系統(tǒng)的開發(fā)與應(yīng)用(編輯修改稿)

2025-01-08 18:34 本頁面
 

【文章內(nèi)容簡介】 { string SQLstmt = select * from 賬戶 where 工號 =39。 + + 39。 AND 密碼 =39。 + + 39。 DataTable dt = (SQLstmt)。 if ( == 0) { (密碼錯誤! )。 } else { ()。 = 。 if ([0][2].ToString().Trim() == 1) 鄭州大學(xué)升達(dá)經(jīng)貿(mào)管理學(xué)院 16 { Form frmmain = new frmmain()。 ()。 } else { Form 售票窗口 = new 售票窗口 ()。 售票窗口 .ShowDialog()。 } } } 售票主窗體相關(guān)功能的實(shí)現(xiàn) 售票員的主界面(圖 42): 圖 42 售票員的主界面 自動加載主窗體時窗體最大化的代碼: public 售票窗口 () { 鄭州大學(xué)升達(dá)經(jīng)貿(mào)管理學(xué)院 17 InitializeComponent()。 = 。 } 點(diǎn)擊售票界面菜單時會觸動 ShowForm(售票界面 )方法: private void 售票界面 ToolStripMenuItem_Click(object sender, EventArgs e) { Form 售票界面 = new 售票界面 ()。 ShowForm(售票界面 )。 } ShowForm()方法代碼: private void ShowForm(Form frmToShow) { foreach (Form frmChild in ) { if (() == ()) { ()。 ()。 return。 } } = this。 ()。 = 。 } 售票界面相關(guān)功能的實(shí)現(xiàn) 售票界面(圖 43): 鄭州大學(xué)升達(dá)經(jīng)貿(mào)管理學(xué)院 18 圖 43 售票界面 查詢按鈕下的代碼: private void btnQuery_Click(object sender, EventArgs e) { string strsql = select , , , , ,車時間 , , , , from 車票 C inner join 運(yùn)輸 Y on = where 39。Y39。 。 if () { strsql = strsql + and =39。 + ().Trim() + 39。 。 } if (boCity .Text .ToString ().Trim ()!=) { strsql = strsql + and =39。 + ().Trim() + 39。 。 } if (().Trim() != ) { strsql = strsql + and =39。 + ().Trim() + 39。 。 } DataTable dt = new DataTable()。 dt = (strsql)。 鄭州大學(xué)升達(dá)經(jīng)貿(mào)管理學(xué)院 19 = dt。 } 售出按鈕下的代碼: private void btnSale_Click(object sender, EventArgs e) { if ( = 1) { (數(shù)據(jù)表為空,不可以賣票! )。 return。 } string ticketID = dataGridView1[0, ].()。 (update 車票 set 售出標(biāo)志 =39。Y39。, 售票員工號 =39。+DataClass .myno +39。where 流水號 =39。+ticketID +39。)。 //打印信息: //string ticketID = dataGridView1[0, ].()。 string City = dataGridView1[1, ].()。 string Stop = dataGridView1[2, ].()。 //string BusID = dataGridView1[3, ].()。 string date = dataGridView1[4, ].()。 鄭州大學(xué)升達(dá)經(jīng)貿(mào)管理學(xué)院 20 string time = dataGridView1[5, ].()。 string chechi = dataGridView1[6, ].()。 //string Alltime = dataGridView1[7, ].()。 string price = dataGridView1[8, ].()。 string zuowei = dataGridView1[9, ].()。 //售票員工號 DataClass .myno string eoutTime = (yyyyMMdd HHmmss)。 StreamWriter sw = (@d:\ + ticketID +_+ eoutTime + .txt)。 (流水號: +ticketID+)。 (出售時間: + eoutTime + )。 (目的城市: + City + )。 (目的站別: + Stop + )。 (發(fā)車日期: + date + )。 (發(fā)車時間: + time + )。 (車次: + chechi + )。 (價格: + price + )。 (座位號: + zuowei + )。 (售票員工號: + + )。 (++++++++++++++++++++++++++)。 (歡迎您 的乘坐本次班車 ~)。 鄭州大學(xué)升達(dá)經(jīng)貿(mào)管理學(xué)院 21 ()。 (車票信息請見 D 盤 )。 = 。 = 。 // = (yyyyMMdd)。 = true。 (this, e)。 } 打開 D 盤可見 2_20210409 的文件,其內(nèi)容如圖 44: 圖 4
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1