資源簡介
排隊叫號系統,包括客戶端,服務器,叫號端。可以語音,可以LED顯示窗口,可以定制業務等。使用MYSQL數據庫。需要的可以下載看看

代碼片段和文件信息
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?System.Runtime.Serialization.Formatters.Binary;
using?System.Collections;
using?QueuingSystem;
using?System.Net.Sockets;
using?System.Text.Regularexpressions;
namespace?ClienQueuing
{
??//??/^[A-Za-z0-9\u4e00-\u9fa5]+$/
????public?partial?class?Form1?:?Form
????{
????????//成員變量
????????private?MySqlDb?mySqlAdd;
????????private?LogForSystem?log;
????????private?Bar?newBar;
????????private?List?listString?=?new?List();
????????private?UdpClient?udpClient;
????????private??int?screenID;
????????Regex?rege?=?new?Regex(“^[0-9a-zA-Z]*$“);//只允許輸入字母和數字
????????public?Form1()
????????{
????????????InitializeComponent();
????????}
????????//?enum?barStateEnum?{?正在服務?=?0?暫停服務?=?1?故障修理?=?2?異常錯誤?=?3?其他?=?4?};
????????private?void?Form1_Load(object?sender?EventArgs?e)
????????{
???????????//?mySqlAdd?=?new?MySqlDb(“127.0.0.1“);
????????????formLoad();
????????}
?????
????????void?formLoad()
????????{
????????????try
????????????{
????????????????if?(SaveAllData.readBar(ref?newBar)?==?false)
????????????????{
????????????????????label7.Text?=?“窗口設置文件讀取錯誤!請重新建立!“;
????????????????????button1.Enabled?=?false;
????????????????????button2.Enabled?=?false;
????????????????????button3.Enabled?=?false;
????????????????????button9.Enabled?=?false;
????????????????????return;
????????????????}
????????????????textBox2barNo.Text?=?textBox4BarNO.Text?=?newBar.barNumber;
????????????????textBox5BarName.Text?=?newBar.barName;
????????????????textBox3barsTAR.Text?=?newBar.barState;
????????????????textBox4Ip.Text?=?newBar.ipServer;
????????????????textBox5duankuo.Text?=?newBar.portServer.ToString();
????????????????numericUpDown1.Value?=?screenID=newBar.ledID;
????????????????textBox4LED.Text?=?newBar.ledID.ToString();
????????????????if?(newBar.ipServer?!=?““)
????????????????{
????????????????????mySqlAdd?=?new?MySqlDb(newBar.ipServer);
????????????????????mySqlAdd.mySqlCon.Open();
????????????????????mySqlAdd.mySqlCon.Close();
????????????????????log?=?new?LogForSystem(newBar.ipServer);
????????????????}
???????????????
????????????????listView1.Items.Clear();
????????????????if?(newBar.gao.Count?>?0)
????????????????{
????????????????????foreach?(string?a?in?newBar.gao)
????????????????????{
????????????????????????string[]?b?=?a.Split(‘‘);
????????????????????????ListViewItem?lsvItem?=?new?ListViewItem(a);//這個是第一行第一列
????????????????????????lsvItem.SubItems.Add(“高“);//第一行第二列
????????????????????????listView1.Items.Add(lsvItem);
????????????????????}
????????????????}
????????????????if?(newBar.zhong.Count?>?0)
????????????????{
????????????????????foreach?(string?a?in?newBar.zhong)
????????????????????{
????????????????????????string[]?b?=?a.Split(‘‘);
???????????
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????6781??2013-09-24?17:27??QueuingSystem2013712.1\Backup\ClienQueuing\ClienQueuing.csproj
?????文件????????506??2013-07-01?09:34??QueuingSystem2013712.1\Backup\ClienQueuing\ClienQueuing.csproj.user
?????文件??????18694??2013-07-16?13:38??QueuingSystem2013712.1\Backup\ClienQueuing\Form1.cs
?????文件??????28790??2013-07-12?11:42??QueuingSystem2013712.1\Backup\ClienQueuing\Form1.Designer.cs
?????文件?????211024??2013-07-12?11:42??QueuingSystem2013712.1\Backup\ClienQueuing\Form1.resx
?????文件???????1203??2013-06-21?13:16??QueuingSystem2013712.1\Backup\ClienQueuing\LanDing.cs
?????文件??????18068??2013-06-21?13:16??QueuingSystem2013712.1\Backup\ClienQueuing\LanDing.Designer.cs
?????文件???????5814??2013-06-21?13:16??QueuingSystem2013712.1\Backup\ClienQueuing\LanDing.resx
?????文件?????136606??2013-07-01?09:34??QueuingSystem2013712.1\Backup\ClienQueuing\png-0098.ico
?????文件????????493??2013-06-20?10:57??QueuingSystem2013712.1\Backup\ClienQueuing\Program.cs
?????文件???????1418??2013-07-01?09:33??QueuingSystem2013712.1\Backup\ClienQueuing\Properties\AssemblyInfo.cs
?????文件???????2874??2013-06-20?10:08??QueuingSystem2013712.1\Backup\ClienQueuing\Properties\Resources.Designer.cs
?????文件???????5612??2013-06-20?10:08??QueuingSystem2013712.1\Backup\ClienQueuing\Properties\Resources.resx
?????文件???????1097??2013-06-20?10:08??QueuingSystem2013712.1\Backup\ClienQueuing\Properties\Settings.Designer.cs
?????文件????????249??2013-06-20?10:08??QueuingSystem2013712.1\Backup\ClienQueuing\Properties\Settings.settings
?????文件??????12638??2013-07-16?14:01??QueuingSystem2013712.1\Backup\QueuingSystem\Form1.cs
?????文件???????3184??2013-07-12?16:42??QueuingSystem2013712.1\Backup\QueuingSystem\Form1.Designer.cs
?????文件?????211226??2013-07-12?16:42??QueuingSystem2013712.1\Backup\QueuingSystem\Form1.resx
?????文件??????27957??2013-07-30?16:09??QueuingSystem2013712.1\Backup\QueuingSystem\Form2.cs
?????文件??????78464??2013-07-30?16:09??QueuingSystem2013712.1\Backup\QueuingSystem\Form2.Designer.cs
?????文件???????6623??2013-07-30?16:09??QueuingSystem2013712.1\Backup\QueuingSystem\Form2.resx
?????文件???????2231??2013-07-09?15:54??QueuingSystem2013712.1\Backup\QueuingSystem\Form3.cs
?????文件??????11093??2013-07-09?15:54??QueuingSystem2013712.1\Backup\QueuingSystem\Form3.Designer.cs
?????文件???????5814??2013-07-09?15:54??QueuingSystem2013712.1\Backup\QueuingSystem\Form3.resx
?????文件???????4048??2013-07-16?14:05??QueuingSystem2013712.1\Backup\QueuingSystem\LedScreen.cs
?????文件?????136606??2013-07-01?09:32??QueuingSystem2013712.1\Backup\QueuingSystem\png-0504.ico
?????文件????????494??2013-06-26?14:58??QueuingSystem2013712.1\Backup\QueuingSystem\Program.cs
?????文件???????1414??2013-07-01?09:33??QueuingSystem2013712.1\Backup\QueuingSystem\Properties\AssemblyInfo.cs
?????文件???????2876??2013-06-19?09:56??QueuingSystem2013712.1\Backup\QueuingSystem\Properties\Resources.Designer.cs
?????文件???????5612??2013-06-19?09:56??QueuingSystem2013712.1\Backup\QueuingSystem\Properties\Resources.resx
............此處省略308個文件信息
評論
共有 條評論