-
大小: 15.1MB文件類型: .rar金幣: 1下載: 0 次發(fā)布日期: 2023-06-18
- 語言: C#
- 標(biāo)簽: 魔幻戰(zhàn)士??影院系統(tǒng)??
資源簡(jiǎn)介
s2深入.NET平臺(tái)和C#編程課后、上機(jī)、指導(dǎo)練習(xí)答案、影院系統(tǒng)項(xiàng)目案例、魔幻戰(zhàn)士和PPT(已經(jīng)做好的PPT),教學(xué)案例新聞閱讀器
代碼片段和文件信息
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;
namespace?指導(dǎo)學(xué)習(xí)
{
????public?partial?class?SetForm?:?Form
????{
????????public?SetForm()
????????{
????????????InitializeComponent();
????????}
????????HealthCheckSet?SetA;
????????HealthCheckSet?SetB;
????????Dictionary?items;
????????Dictionary?AllItems?=?new?Dictionary();
????????HealthCheckItem?height;
????????HealthCheckItem?weight;
????????HealthCheckItem?sight;
????????HealthCheckItem?hearing;
????????HealthCheckItem?liverFun;
????????HealthCheckItem?bWaves;
????????HealthCheckItem?ekg;
????????HealthCheckItem?bloodPressure;
????????HealthCheckItem?bloodTest;
????????///?
????????///?創(chuàng)建原始Item數(shù)據(jù)
????????///?
????????public?void?InitItems()
????????{
???????????
????????????//創(chuàng)建Item對(duì)象并保存到集合中
????????????height?=?new?HealthCheckItem(“身高“?5?“用于檢查身高“);
????????????weight?=?new?HealthCheckItem(“體重“?5?“用于檢查體重“);
????????????sight?=?new?HealthCheckItem(“視力“?10?“用于檢查視力“);
????????????hearing?=?new?HealthCheckItem(“聽力“?10?“用于檢查聽力“);
????????????liverFun?=?new?HealthCheckItem(“肝功能“?50?“用于檢查肝功能“);
????????????bWaves?=?new?HealthCheckItem(“B超“?30?“用于檢查B超“);
????????????ekg?=?new?HealthCheckItem(“心電圖“?50?“用于檢查心電圖“);
????????????bloodPressure?=?new?HealthCheckItem(“血壓“?20?“用于檢查血壓“);
????????????bloodTest?=?new?HealthCheckItem(“血常規(guī)“?20?“用于檢查血常規(guī)“);
????????????AllItems.Add(height.Name?height);
????????????AllItems.Add(weight.Name?weight);
????????????AllItems.Add(sight.Name?sight);
????????????AllItems.Add(hearing.Name?hearing);
????????????AllItems.Add(liverFun.Name?liverFun);
????????????AllItems.Add(bWaves.Name?bWaves);
????????????AllItems.Add(ekg.Name?ekg);
????????????AllItems.Add(bloodPressure.Name?bloodPressure);
????????????AllItems.Add(bloodTest.Name?bloodTest);
????????}
????????///?
????????///?生成套餐數(shù)據(jù)
????????///?
????????private?void?InitSetsA()
????????{
????????????AllItems.Clear();
????????????InitItems();
????????????//生成A類套餐對(duì)象
????????????items?=?new?Dictionary();
????????????items.Add(height.Name?height);
????????????items.Add(weight.Name?weight);
????????????items.Add(liverFun.Name?liverFun);
????????????SetA?=?new?HealthCheckSet(“入學(xué)體檢“?items);
????????????//計(jì)算套餐價(jià)格
????????????SetA.calcPrice();
????????}
????????private?void?InitSetsB()
????????{
????????????AllItems.Clear();
????????????InitItems();?
????????????//生成B類套餐對(duì)象???????
????????????items?=?new?Dictionary();
????????????items.Add(height.Name?height);
????????????items.Add(weight.Name?weight);
????????????items.Add(sight.Name?sight);
????????????items.Add(hearing.Name?hearing);
????????????items.Add(liverFun.Name?liverFun
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件????1777152??2010-05-14?16:45??新建文件夾\學(xué)員總結(jié)復(fù)習(xí)本門課程V2.0.ppt
?????文件?????????83??2010-04-18?21:20??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\bin\Debug\iteminfo.txt
?????文件??????28672??2010-04-18?23:15??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\bin\Debug\指導(dǎo)學(xué)習(xí).exe
?????文件??????38400??2010-04-18?23:15??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\bin\Debug\指導(dǎo)學(xué)習(xí).pdb
?????文件???????5632??2005-11-11?22:25??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\bin\Debug\指導(dǎo)學(xué)習(xí).vshost.exe
?????文件???????8263??2010-04-18?23:16??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\Form1.cs
?????文件??????11144??2010-04-18?23:16??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\Form1.Designer.cs
?????文件???????5814??2010-04-18?23:16??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\Form1.resx
?????文件???????1246??2010-04-18?11:49??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\HealthCheckItem.cs
?????文件???????1514??2010-04-18?20:31??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\HealthCheckSet.cs
?????文件????????842??2010-04-18?22:31??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\obj\Debug\指導(dǎo)學(xué)習(xí).csproj.GenerateResource.Cache
?????文件??????28672??2010-04-18?23:15??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\obj\Debug\指導(dǎo)學(xué)習(xí).exe
?????文件??????38400??2010-04-18?23:15??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\obj\Debug\指導(dǎo)學(xué)習(xí).pdb
?????文件????????180??2010-04-18?11:49??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\obj\Debug\指導(dǎo)學(xué)習(xí).Properties.Resources.resources
?????文件????????180??2010-04-18?22:31??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\obj\Debug\指導(dǎo)學(xué)習(xí).SetForm.resources
?????文件????????305??2010-04-23?21:41??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\obj\指導(dǎo)學(xué)習(xí).csproj.FileList.txt
?????文件????????361??2010-04-18?11:49??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\obj\指導(dǎo)學(xué)習(xí).csproj.FileListAbsolute.txt
?????文件????????473??2010-04-18?11:12??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\Program.cs
?????文件???????1184??2010-04-18?11:11??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\Properties\AssemblyInfo.cs
?????文件???????2880??2010-04-18?11:11??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\Properties\Resources.Designer.cs
?????文件???????5350??2010-04-18?11:11??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\Properties\Resources.resx
?????文件???????1097??2010-04-18?11:11??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\Properties\Settings.Designer.cs
?????文件????????249??2010-04-18?11:11??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\Properties\Settings.settings
?????文件???????3322??2010-04-18?11:49??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí).csproj
?????文件????????925??2010-04-18?11:11??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí).sln
????..A..H.?????15872??2010-04-23?22:44??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)\指導(dǎo)學(xué)習(xí).suo
?????文件?????????76??2010-04-22?12:00??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)階段3和4\指導(dǎo)學(xué)習(xí)\bin\Debug\iteminfo.txt
?????文件??????28672??2010-04-22?11:59??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)階段3和4\指導(dǎo)學(xué)習(xí)\bin\Debug\指導(dǎo)學(xué)習(xí).exe
?????文件??????34304??2010-04-22?11:59??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)階段3和4\指導(dǎo)學(xué)習(xí)\bin\Debug\指導(dǎo)學(xué)習(xí).pdb
?????文件???????5632??2005-11-11?22:25??新建文件夾\指導(dǎo)學(xué)習(xí)1\指導(dǎo)學(xué)習(xí)階段3和4\指導(dǎo)學(xué)習(xí)\bin\Debug\指導(dǎo)學(xué)習(xí).vshost.exe
............此處省略1261個(gè)文件信息
評(píng)論
共有 條評(píng)論