![數(shù)據(jù)庫實(shí)驗(yàn)四_第1頁](http://file4.renrendoc.com/view/a7edf8dc3c0906581e8766d3e4e38b00/a7edf8dc3c0906581e8766d3e4e38b001.gif)
![數(shù)據(jù)庫實(shí)驗(yàn)四_第2頁](http://file4.renrendoc.com/view/a7edf8dc3c0906581e8766d3e4e38b00/a7edf8dc3c0906581e8766d3e4e38b002.gif)
![數(shù)據(jù)庫實(shí)驗(yàn)四_第3頁](http://file4.renrendoc.com/view/a7edf8dc3c0906581e8766d3e4e38b00/a7edf8dc3c0906581e8766d3e4e38b003.gif)
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
1、寧波大學(xué)實(shí)驗(yàn)實(shí)驗(yàn)課程名稱:數(shù)據(jù)庫應(yīng)用與開發(fā)院:學(xué)專業(yè):信息管理與信息系統(tǒng)指導(dǎo) 教師:人:學(xué)號信管班級:期:201620172學(xué)商科實(shí)驗(yàn)教學(xué)中心制實(shí)驗(yàn)成績實(shí)驗(yàn)項(xiàng)目名稱Windows 應(yīng)用程序開發(fā)設(shè)計一、實(shí)驗(yàn)?zāi)康呐c要求:完成書上實(shí)驗(yàn) 5-1 和實(shí)驗(yàn) 5-2二、實(shí)驗(yàn)設(shè)備及:電腦、Vs2010三、實(shí)驗(yàn)方法(原理、流程圖)四、實(shí)驗(yàn)過程、步驟及內(nèi)容實(shí)驗(yàn)5-1: Form1的代碼: using System;using System.Collections.Generic; usingponentM; using System.Data;using System.Drawing;
2、using System.Linq; using System.Text;using System.Windows.Forms;namespace 實(shí)驗(yàn)5_1public partial class Form1 : Formpublic Form1()ponent();private void 退出ToolStripItem_Click(objecder, EventArgs e)this.Close();private void 打開ToolStripItem_Click(objecder, EventArgs e)private void linkLabel1_LinkClicked(ob
3、jecder, LinkLabelLinkClickedEventArgs e)MyForm v = new MyForm(); this.Hide();v.Show();點(diǎn)擊Myform的代碼: using System;using System.Collections.Generic; usingponentM; using System.Data;using System.Drawing; using System.Linq; using System.Text;using System.Windows.Forms;namespace 實(shí)驗(yàn)5_1public partial class
4、MyForm : Formpublic MyForm()ponent();private void textBox1_TextChanged(objecder, EventArgs e)private void button1_Click(objecder, EventArgs e)this.Close();private void button2_Click(objecder, EventArgs e)if (this.checkBox1.Checked = true)this.textBox1.Text = textBox1.Text + checkBox1.Text + 、;if (th
5、is.checkBox2.Checked = true)this.textBox1.Text = textBox1.Text + checkBox2.Text + 、;if (this.checkBox3.Checked = true)this.textBox1.Text = textBox1.Text + checkBox3.Text + 、;if (this.checkBox4.Checked = true)this.textBox1.Text = textBox1.Text + checkBox4.Text + 、;if (this.checkBox5.Checked = true)th
6、is.textBox1.Text = textBox1.Text + checkBox5.Text + 、;if (this.checkBox6.Checked = true)this.textBox1.Text = textBox1.Text + checkBox6.Text + 、;private void radioButton1_CheckedChanged(objecder, EventArgs e)if (this.radioButton1.Checked = true) this.BackColor = Color.Red;private void radioButton2_Ch
7、eckedChanged(objecder,EventArgs e)if (this.radioButton2.Checked = true) this.BackColor = Colreen;private void radioButton3_CheckedChanged(objecder, EventArgs e)if (this.radioButton3.Checked = true) this.BackColor = Color.Blue;背景變換成選擇的顏色,文本框顯示所選擇的喜歡的顏色實(shí)驗(yàn)52:using System;using System.Collections.Generi
8、c; usingponentM; using System.Data;using System.Drawing; using System.Linq; using System.Text;using System.Windows.Forms;namespace 實(shí)驗(yàn)5_2public partial class Form1 : Formpublic Form1()ponent();private void button1_Click(objecder, EventArgs e)listBox1.Items.Add(書名: + textBox1.Text + ,: + textBox2.Text);textBox1.Text = ; textBox1.Text = ;private void button2_Click(objecder, EventArgs e)if (listBox1.SelectedIndex != -1)listBox1.It
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年度股東合作協(xié)議合同:XX文化產(chǎn)業(yè)股東合作協(xié)議及創(chuàng)意合作
- 二零二五年度綠色健康養(yǎng)老保姆服務(wù)合同
- 2025美容店轉(zhuǎn)讓合同含獨(dú)家美容院線品牌及區(qū)域保護(hù)協(xié)議
- 二零二五年度診所與藥品零售企業(yè)聯(lián)合促銷合同
- 2025年度酒店前臺員工薪酬福利與晉升管理合同
- 社團(tuán)活動策劃書:社團(tuán)策劃書模板(4篇)范文
- 2025年廣告節(jié)目合同
- 2025年旅游規(guī)劃委托合同
- 2025年羅漢碗行業(yè)深度研究分析報告
- 【可行性報告】2025年精密雕刻機(jī)相關(guān)行業(yè)可行性分析報告
- 飛鼠養(yǎng)殖技術(shù)指導(dǎo)
- 2024輸血相關(guān)知識培訓(xùn)
- 2023年四川省綿陽市中考初中學(xué)業(yè)水平考試語文試題【含答案】
- 正大天虹方矩管鍍鋅方矩管材質(zhì)書
- 山東省泰安市2022年初中學(xué)業(yè)水平考試生物試題
- 受賄案例心得體會
- 人教A版高中數(shù)學(xué)選擇性必修第一冊第二章直線和圓的方程-經(jīng)典例題及配套練習(xí)題含答案解析
- 圖書館學(xué)基礎(chǔ)簡明教程
- 畢業(yè)設(shè)計(論文)-液體藥品灌裝機(jī)的設(shè)計與制造
- 二年級下冊數(shù)學(xué)教案 -《數(shù)一數(shù)(二)》 北師大版
- 銀行內(nèi)部舉報管理規(guī)定
評論
0/150
提交評論