前言
一、实现功能
1.界面
2. 数据库功能实现
主要实现 :
1.创建一个需要条码的条码,添加条码名称、设置条码数据库名字、打印历史数据库名字、功能块数据库。

2.表不存在实创建,实现给表的字段标注别名。

3.表列不够可在追加表列。
4.对表字段实现防重复验证,勾选在需要防重复的字段。
5.表字段在打印界面隐藏,在字段列勾选验证字段。

3. 多条码功能实现
主要实现 :
1.在用户权限 中控制是否显示打印条码。

2.打印条码界面按照权限显示需要打印的条码。

4. 日志文件实现
二、小计步骤
1.界面
数据库功能
条码1数据配置
条码2数据配置
2.数据库功能实现
1.创建一个条码:
/// <summary>
/// 添加数据
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void buttonAddtem_Click(object sender, EventArgs e)
{
Addtem = false;
if (string.IsNullOrEmpty(controlConfig.Name) == false & string.IsNullOrEmpty(controlConfig.Text) == false &
string.IsNullOrEmpty(controlConfig.SQLName) == false)
{
controlConfig.Buttensize = new Size(150, 40);
controlConfig.Checksize = new Size(180, 30);
controlConfig.Type = "Controls";
controlConfig.Grouptype = 0;
controlConfig.ControlsSorting = 0;
ControlConfig foundc = ControlLoader.ControlsALL.Find(config => config.Name == controlConfig.Name);
if (foundc




最低0.47元/天 解锁文章
1万+

被折叠的 条评论
为什么被折叠?



