资源简介
包含基本的入库、出库管理、库存、查询等功能,并具有读写rfid卡的模块。
数据库:Sql server 2000,在db目录下
开发工具:c# 2008

代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Microsoft.WindowsCE.Forms;
namespace redline
{
public partial class baseForm : Form
{
private CustomMessageHandler Agent;
public baseForm()
{
InitializeComponent();
this.Agent = new CustomMessageHandler(this);
}
private void BarCodeForm_Load(object sender EventArgs e)
{
if (!RequestNotifications())
{
MessageBox.Show(“Fail to request BarCode module messages !“);
}
}
///
/// 重载这个函数实现当接收到条码内容时的处理过程
///
/// Data
public virtual void RespondOnBarCodeReceived( string BarCode )
{
}
public bool RequestNotifications()
{
return DevLibLite.DevLibRequestNotifications(Agent.Hwnd 0);
}
public bool StopNotifications()
{
return DevLibLite.DevLibStopNotifications(Agent.Hwnd);
}
private void BarCodeForm_Closed(object sender EventArgs e)
{
if ( ! StopNotifications() )
{
MessageBox.Show(“Fail to stop BarCode module messages !“);
}
}
}
public class CustomMessageHandler : MessageWindow
{
// Assign integers to messages.
// Note that custom Window messages start at WM_USER = 0x400.
public const int WM_USER = 0x0400;
public const int WM_BARCODE = WM_USER + 13;
// Create an instance of the form.
private baseForm FrmMaster;
public CustomMessageHandler()
{
}
// Save a reference to the form so it can
// be notified when messages are received.
public CustomMessageHandler(baseForm Frm)
{
this.FrmMaster = Frm;
}
// Override the default WndProc behavior to examine messages.
protected override void WndProc(ref Message msg)
{
if ( msg.Msg == WM_BARCODE )
{
uint nLen = (uint)msg.LParam;
string BarCode = DevLibLite.ReadBarCode(nLen);
this.FrmMaster.RespondOnBarCodeReceived(BarCode);
msg.Result = IntPtr.Zero;
}
else
{
base.WndProc(ref msg);
}
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 262 2013-02-22 18:39 SmartDeviceProject2\SmartDeviceCab2\Debug\CabWiz.log
文件 1726388 2013-02-22 18:39 SmartDeviceProject2\SmartDeviceCab2\Debug\SmartDeviceCab2.CAB
文件 26190 2013-02-22 18:39 SmartDeviceProject2\SmartDeviceCab2\Debug\SmartDeviceCab2.inf
文件 82404 2013-02-25 08:26 SmartDeviceProject2\SmartDeviceCab2\SmartDeviceCab2.vddproj
文件 13864 2007-10-10 18:45 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\CustomMarshalers.dll
文件 81 2007-09-14 10:51 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\CustomMarshalers.xm
文件 18000 2007-10-10 18:45 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\Microsoft.ServiceModel.Channels.Mail.dll
文件 14448 2007-10-10 18:45 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\Microsoft.ServiceModel.Channels.Mail.WindowsMobile.dll
文件 167 2007-09-24 18:09 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\Microsoft.ServiceModel.Channels.Mail.WindowsMobile.xm
文件 153 2007-09-24 18:09 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\Microsoft.ServiceModel.Channels.Mail.xm
文件 349744 2007-10-10 18:46 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\Microsoft.VisualBasic.dll
文件 86 2007-09-14 10:51 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\Microsoft.VisualBasic.xm
文件 23608 2007-10-10 18:46 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\Microsoft.Windowsce.Forms.dll
文件 95 2007-09-14 10:51 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\Microsoft.Windowsce.Forms.xm
文件 99904 2007-10-10 18:46 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\Microsoft.WindowsMobile.DirectX.dll
文件 116 2007-09-14 10:51 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\Microsoft.WindowsMobile.DirectX.xm
文件 214552 2007-10-10 18:45 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\mscorlib.dll
文件 78 2007-09-14 10:51 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\mscorlib.xm
文件 38424 2007-10-10 18:46 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\System.Core.dll
文件 128 2007-09-24 18:09 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\System.Core.xm
文件 16960 2007-10-10 18:46 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\System.Data.DataSetExtensions.dll
文件 146 2007-09-24 18:09 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\System.Data.DataSetExtensions.xm
文件 124440 2007-10-10 18:46 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\System.Data.dll
文件 79 2007-09-14 10:51 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\System.Data.xm
文件 112144 2007-10-10 18:45 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\System.dll
文件 46624 2007-10-10 18:45 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\System.Drawing.dll
文件 84 2007-09-14 10:51 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\System.Drawing.xm
文件 42536 2007-10-10 18:46 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\System.Messaging.dll
文件 81 2007-09-14 10:51 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\System.Messaging.xm
文件 15904 2007-10-10 18:46 SmartDeviceProject2\SmartDeviceCab2\手动依赖项\System.Net.Irda.dll
............此处省略145个文件信息
相关资源
- C#四则运算Windows界面
- C#更改Windows防火墙设置实例程序
- 101个微软的C#例子-Windows Forms篇
- 程序发布服务WindowsService
- Windows远程控制系统
- C#21点游戏windows窗体应用
- C#语言Windows程序设计第二版_实验源码
- c# 模仿windows扑克游戏
- C#源码让windows系统待机休眠
- C#入门:基于C#的Windows窗口应用程序教
- C#的windows应用窗体开发教程
- C#Windows窗口人事管理系统
- C#接讯飞实现语音听写功能demowindows
- 两款基于Windows的桌面管理系统.net(
- nmon-windows版分析工具,非nmon analyser
- 几个不错的C#.NET做的WINDOWS窗体应用小
- C# 计算器 源代码 C#计算器源代码
- 金旭亮《C#面向对象程序设计》教案
- windows窗体的酒店管理系统
- Windows Runtime via C#
- C# windows窗体 招聘管理系统
- Windows程序设计--C#--图书管理系统.zi
- c#windows修改音频默认设备
- 基于windows桌面的c#基础知识,
- The Definitive Guide to Windows Installer
- C# 实现的一个完整的Windows任务管理器
- C#入门-基于C#的Windows窗口应用程序教
- 钉钉接口请求数据接入数据库c#源码
- C#数据库定时备份Windows服务源码
- BLE_TI_demo_keyfob_sensortag蓝牙芯片9(Wi
评论
共有 条评论