資源簡介
醫院用叫號系統完整內容,使用C#語言開發,時間間隔,掛號-叫號-就診

代碼片段和文件信息
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;
using?JHBLL;
using?JHModels;
using?System.Speech;
using?System.Speech.Synthesis;
using?SpeechLib;
using?System.Text.Regularexpressions;
namespace?JH
{
????public?partial?class?Form1?:?Form
????{
????????public?Form1()
????????{
????????????InitializeComponent();
????????????bind();
????????}
????????string?ys?=?System.Configuration.ConfigurationSettings.AppSettings[“ys“];
????????string?mz?=?System.Configuration.ConfigurationSettings.AppSettings[“mz“];
????????string?zt?=?System.Configuration.ConfigurationSettings.AppSettings[“zt“];
????????public?void?bind()
????????{
????????????REGISTERManager?r?=?new?REGISTERManager();
????????????DateTime.Now.ToShortDateString().ToString();
????????????dataGridView1.AutoGenerateColumns?=?false;
????????????dataGridView1.DataSource?=?r.GetREGISTERAllSET(ys?DateTime.Now.ToShortDateString().ToString());
????????????this.dataGridView1.SelectionMode?=?DataGridViewSelectionMode.FullRowSelect;
????????????label8.Text?=?dataGridView1.Rows.Count.ToString();
????????????label10.Text?=?Convert.ToString(r.getconut(““?(DateTime.Now.ToShortDateString().ToString())?Convert.ToString(ys)));
????????????label12.Text?=?Convert.ToString(r.getconut(“已發送“?(DateTime.Now.ToShortDateString().ToString())?Convert.ToString(ys)));
????????}
????????private?void?button1_Click_1(object?sender?EventArgs?e)
????????{
????????????if?(label1.Text?==?“1“?||?label3.Text==“xx“)
????????????{
????????????????MessageBox.Show(“請先選中患者“);
????????????}
????????????else
????????????{
????????????????if?(dataGridView1.CurrentRow.Cells[6].Value.ToString()?==?“已發送“?||?dataGridView1.CurrentRow.Cells[6].Value.ToString()?==?“已叫號“)
????????????????{
????????????????????MessageBox.Show(“該患者已經發送“);
????????????????}
????????????????else
????????????????{
????????????????????if?(MessageBox.Show(“確定發送?“?“提示“?MessageBoxButtons.OKCancel?MessageBoxIcon.Question)?==?DialogResult.OK)
????????????????????{
????????????????????????REGISTERManager?rm?=?new?REGISTERManager();
????????????????????????REGISTER?r?=?rm.GetREGISTERById(dataGridView1.CurrentRow.Cells[3].Value.ToString());
????????????????????????r.Hos_lsh?=?“已發送“;
????????????????????????rm.UpdateREGISTER(r);
????????????????????????bind();
????????????????????????JH_Info?j?=?new?JH_Info();
????????????????????????JH_InfoManager?jm?=?new?JH_InfoManager();
????????????????????????j.Bz?=?label3.Text;
????????????????????????j.Daifu?=?ys;
????????????????????????j.Keshi?=?mz;
????????????????????????j.Xingm?=?label18.Text;
????????????????????????j.Zt?=?“待叫號“;
????????????????????????j.Riqi?=?DateTime.Now.ToShortDateString();
????????????????????????j.Mezh?=?“未填寫“;
????????????????????????j.Mzdh?=?“未填寫“;
????????????????????????jm.AddJH_Info(j);
??????
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1504??2015-09-24?14:03??叫號系統開發\cs\JH\App.config
?????文件??????44544??2015-09-26?16:49??叫號系統開發\cs\JH\bin\Debug\AxInterop.WMPLib.dll
?????文件?????281600??2015-09-26?16:49??叫號系統開發\cs\JH\bin\Debug\Interop.WMPLib.dll
?????文件??????59392??2015-09-26?16:49??叫號系統開發\cs\JH\bin\Debug\JH.exe
?????文件???????1504??2015-09-24?14:03??叫號系統開發\cs\JH\bin\Debug\JH.exe.config
?????文件??????56832??2015-09-26?16:49??叫號系統開發\cs\JH\bin\Debug\JH.pdb
?????文件??????11600??2016-08-16?15:09??叫號系統開發\cs\JH\bin\Debug\JH.vshost.exe
?????文件???????1504??2015-09-24?14:03??叫號系統開發\cs\JH\bin\Debug\JH.vshost.exe.config
?????文件????????490??2014-01-13?21:31??叫號系統開發\cs\JH\bin\Debug\JH.vshost.exe.manifest
?????文件???????8704??2015-09-26?16:49??叫號系統開發\cs\JH\bin\Debug\JHBLLModels.dll
?????文件??????17920??2015-09-26?16:49??叫號系統開發\cs\JH\bin\Debug\JHBLLModels.pdb
?????文件??????17408??2015-09-26?16:49??叫號系統開發\cs\JH\bin\Debug\JHDALModels.dll
?????文件??????30208??2015-09-26?16:49??叫號系統開發\cs\JH\bin\Debug\JHDALModels.pdb
?????文件??????10752??2015-09-26?16:49??叫號系統開發\cs\JH\bin\Debug\JHModelsModels.dll
?????文件??????42496??2015-09-26?16:49??叫號系統開發\cs\JH\bin\Debug\JHModelsModels.pdb
?????文件?????176128??2015-09-12?08:04??叫號系統開發\cs\JH\dll\Interop.SpeechLib.dll
?????文件???????8957??2015-09-24?08:37??叫號系統開發\cs\JH\Form1.cs
?????文件??????25570??2015-09-23?15:19??叫號系統開發\cs\JH\Form1.Designer.cs
?????文件???????7710??2015-09-23?13:29??叫號系統開發\cs\JH\Form1.resx
?????文件???????9517??2016-07-13?13:00??叫號系統開發\cs\JH\Form2.cs
?????文件??????21011??2015-09-24?15:30??叫號系統開發\cs\JH\Form2.Designer.cs
?????文件???????9550??2015-09-24?15:30??叫號系統開發\cs\JH\Form2.resx
?????文件???????8296??2015-09-23?15:19??叫號系統開發\cs\JH\JH.csproj
?????文件????????452??2015-09-11?11:35??叫號系統開發\cs\JH\JH.csproj.user
?????文件???????3339??2015-09-09?10:17??叫號系統開發\cs\JH\MDIParent1.cs
?????文件??????32669??2015-09-09?10:17??叫號系統開發\cs\JH\MDIParent1.Designer.cs
?????文件??????26844??2015-09-09?10:17??叫號系統開發\cs\JH\MDIParent1.resx
?????文件??????44544??2015-09-26?16:49??叫號系統開發\cs\JH\obj\x86\Debug\AxInterop.WMPLib.dll
?????文件???????1278??2016-07-19?10:14??叫號系統開發\cs\JH\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache
?????文件???????8125??2016-08-16?15:09??叫號系統開發\cs\JH\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
............此處省略120個文件信息
- 上一篇:winform電影售票系統
- 下一篇:C# 考試系統 自動選題答題,計算得分,
評論
共有 條評論