資源簡介
實現手持終端條碼的掃描,儲存,判斷
條碼內容判定,條碼是否重碼報警
手持終端的當前只能在VS2008 2005上編程 高版本VS不適用 該示例用的VS2008 請用該版本打開和繼續適應性開發
儲存用的TXT文本 數據10萬條以上會有判斷延遲出現,需要定期清理txt手動備份
代碼片段和文件信息
//--------------------------------------------------------------------
//?FILENAME:?AboutForm.cs
//
//?Copyright??2011?Motorola?Solutions?Inc.?All?rights?reserved.
//
//?DEscriptION:?The?source?file?for?the?AboutForm?dialog.
//
//--------------------------------------------------------------------
using?System;
using?System.Drawing;
using?System.Collections;
using?System.ComponentModel;
using?System.Windows.Forms;
namespace?CS_BarcodeSample1
{
????public?class?AboutForm?:?Form
????{
????????///?
????????///?Required?designer?variable.
????????///?
????????private?System.ComponentModel.IContainer?components?=?null;
????????private?Panel?panel;
????????private?TextBox?textBox1;
///?
///?AboutForm?constructor.
///?
public?AboutForm()
????????{
????????????InitializeComponent();
????????????//?Add?MainMenu?if?Pocket?PC
????????????if?(Symbol.Win32.PlatformType.IndexOf(“PocketPC“)?!=?-1)
????????????{
????????????????this.Menu?=?new?MainMenu();
????????????}
????????????textBox1.Text?=?Resources.GetString(“AboutMsg“).Replace(“\\r\\n““\r\n“);?
???????????}
????????///?
????????///?Clean?up?any?resources?being?used.
????????///?
????????///?true?if?managed?resources?should?be?disposed;?otherwise?false.
????????protected?override?void?Dispose(bool?disposing)
????????{
????????????if?(disposing?&&?(components?!=?null))
????????????{
????????????????components.Dispose();
????????????}
????????????base.Dispose(disposing);
????????}
????????#region?Windows?Form?Designer?generated?code
????????///?
????????///?Required?method?for?Designer?support?-?do?not?modify
????????///?the?contents?of?this?method?with?the?code?editor.
????????///?
????????private?void?InitializeComponent()
????????{
????????????this.panel?=?new?System.Windows.Forms.Panel();
????????????this.textBox1?=?new?System.Windows.Forms.TextBox();
????????????this.panel.SuspendLayout();
????????????this.SuspendLayout();
????????????//?
????????????//?panel
????????????//?
????????????this.panel.Controls.Add(this.textBox1);
????????????this.panel.Dock?=?System.Windows.Forms.Dockstyle.Fill;
????????????this.panel.Location?=?new?System.Drawing.Point(0?0);
????????????this.panel.Name?=?“panel“;
????????????this.panel.Size?=?new?System.Drawing.Size(318?292);
????????????//?
????????????//?textBox1
????????????//?
????????????this.textBox1.BackColor?=?System.Drawing.SystemColors.Control;
????????????this.textBox1.Borderstyle?=?System.Windows.Forms.Borderstyle.None;
????????????this.textBox1.Dock?=?System.Windows.Forms.Dockstyle.Fill;
????????????this.textBox1.Location?=?new?System.Drawing.Point(0?0);
????????????this.textBox1.Multiline?=?true;
????????????this.textBox1.Name?=?“textBox1“;
????????????this.textBox1.ReadOnly?=?true;
????????????this.textBox1.Size?=?new?System.Drawing.Size(318?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2020-12-10?09:02??CS_BarcodeSample1-2020.12.10模板\
?????目錄???????????0??2020-12-10?08:41??CS_BarcodeSample1-2020.12.10模板\.vs\
?????目錄???????????0??2020-12-10?08:41??CS_BarcodeSample1-2020.12.10模板\.vs\CS_BarcodeSample1.VS2008\
?????目錄???????????0??2020-12-10?08:41??CS_BarcodeSample1-2020.12.10模板\.vs\CS_BarcodeSample1.VS2008\v16\
?????文件???????23040??2020-09-16?16:47??CS_BarcodeSample1-2020.12.10模板\.vs\CS_BarcodeSample1.VS2008\v16\.suo
?????文件???????10990??2014-08-08?17:22??CS_BarcodeSample1-2020.12.10模板\API.cs
?????文件????????4515??2014-08-08?17:22??CS_BarcodeSample1-2020.12.10模板\AboutForm.cs
?????文件????????5765??2014-08-08?17:22??CS_BarcodeSample1-2020.12.10模板\AboutForm.resx
?????文件????????2376??2014-08-08?17:22??CS_BarcodeSample1-2020.12.10模板\AssemblyInfo.cs
?????文件????????1066??2020-06-28?09:43??CS_BarcodeSample1-2020.12.10模板\CS_BarcodeSample1.VS2008.sln
?????文件???????25600??2020-12-10?08:53??CS_BarcodeSample1-2020.12.10模板\CS_BarcodeSample1.VS2008.suo
?????文件??????126195??2020-12-10?08:51??CS_BarcodeSample1-2020.12.10模板\MainForm.cs
?????文件??????643451??2020-12-10?08:47??CS_BarcodeSample1-2020.12.10模板\MainForm.resx
?????文件??????105098??2020-06-26?09:59??CS_BarcodeSample1-2020.12.10模板\NG.bmp
?????文件??????106898??2020-06-26?09:58??CS_BarcodeSample1-2020.12.10模板\OK.bmp
?????文件?????????815??2014-08-08?17:22??CS_BarcodeSample1-2020.12.10模板\Resources.cs
?????文件???????10250??2014-08-08?17:22??CS_BarcodeSample1-2020.12.10模板\Resources.resx
?????文件??????322604??2020-06-27?18:50??CS_BarcodeSample1-2020.12.10模板\alarm.wav
?????文件???????20044??2020-06-26?10:30??CS_BarcodeSample1-2020.12.10模板\alarm1.wav
?????目錄???????????0??2020-12-10?08:41??CS_BarcodeSample1-2020.12.10模板\bin\
?????目錄???????????0??2020-12-10?08:41??CS_BarcodeSample1-2020.12.10模板\bin\Debug\
?????文件??????495616??2020-11-18?08:13??CS_BarcodeSample1-2020.12.10模板\bin\Debug\MANDO2020.exe
?????文件???????95744??2020-11-18?08:13??CS_BarcodeSample1-2020.12.10模板\bin\Debug\MANDO2020.pdb
?????文件??????105098??2020-06-26?09:59??CS_BarcodeSample1-2020.12.10模板\bin\Debug\NG.bmp
?????文件??????106898??2020-06-26?09:58??CS_BarcodeSample1-2020.12.10模板\bin\Debug\OK.bmp
?????文件???????28672??2014-08-08?17:20??CS_BarcodeSample1-2020.12.10模板\bin\Debug\Symbol.Audio.dll
?????文件???????28960??2014-08-08?17:20??CS_BarcodeSample1-2020.12.10模板\bin\Debug\Symbol.Audio.xm
?????文件??????176128??2014-08-08?17:20??CS_BarcodeSample1-2020.12.10模板\bin\Debug\Symbol.Barcode.dll
?????文件??????351648??2014-08-08?17:20??CS_BarcodeSample1-2020.12.10模板\bin\Debug\Symbol.Barcode.xm
?????文件???????53248??2014-08-08?17:20??CS_BarcodeSample1-2020.12.10模板\bin\Debug\Symbol.ResourceCoordination.dll
?????文件??????132645??2014-08-08?17:20??CS_BarcodeSample1-2020.12.10模板\bin\Debug\Symbol.ResourceCoordination.xm
............此處省略39個文件信息
評論
共有 條評論