资源简介

   /*

    建议后台单独使用监听,保存条码到其他地方
    业务系统再去其他地方获取代码处理。
        注意:不这样处理可能会条码监控漏掉,或者系统钩子失效等等情况     
    */

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    /*
    建议后台单独使用监听,保存条码到其他地方
    业务系统再去其他地方获取代码处理。
        注意:不这样处理可能会条码监控漏掉,或者系统钩子失效等等情况     
    */
    public partial class Form1 : Form
    {
        private ScanerHook listener = new ScanerHook();
        public Form1()
        {
            InitializeComponent();
            listener.ScanerEvent += Listener_ScanerEvent;
        }
        private void Listener_ScanerEvent(ScanerHook.ScanerCodes codes)
        {
            textBox1.Text = codes.Result;
        }

        private void Form1_Load(object sen

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-07-13 11:05  WindowsFormsApplication1\
     文件        1039  2019-07-13 10:57  WindowsFormsApplication1.sln
     文件         187  2019-07-13 10:57  WindowsFormsApplication1\App.config
     目录           0  2019-07-13 10:57  WindowsFormsApplication1\bin\
     目录           0  2019-07-13 11:01  WindowsFormsApplication1\bin\Debug\
     文件       14336  2019-07-13 11:05  WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe
     文件         187  2019-07-13 10:57  WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe.config
     文件       30208  2019-07-13 11:05  WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.pdb
     文件       22696  2019-07-13 11:02  WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe
     文件         187  2019-07-13 10:57  WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.config
     文件         490  2017-09-29 21:43  WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.manifest
     文件        1150  2019-07-13 11:05  WindowsFormsApplication1\Form1.cs
     文件        2124  2019-07-13 11:01  WindowsFormsApplication1\Form1.Designer.cs
     文件        5817  2019-07-13 11:01  WindowsFormsApplication1\Form1.resx
     目录           0  2019-07-13 10:57  WindowsFormsApplication1\obj\
     目录           0  2019-07-13 11:01  WindowsFormsApplication1\obj\Debug\
     文件         864  2019-07-13 10:57  WindowsFormsApplication1\obj\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        7212  2019-07-13 11:00  WindowsFormsApplication1\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件           0  2019-07-13 10:57  WindowsFormsApplication1\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
     文件           0  2019-07-13 10:57  WindowsFormsApplication1\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
     文件           0  2019-07-13 10:57  WindowsFormsApplication1\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
     目录           0  2019-07-13 10:57  WindowsFormsApplication1\obj\Debug\TempPE\
     文件        1041  2019-07-13 11:02  WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.csproj.FileListAbsolute.txt
     文件        1012  2019-07-13 11:01  WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.csproj.GenerateResource.Cache
     文件        2360  2019-07-13 11:01  WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.csprojResolveAssemblyReference.cache
     文件       14336  2019-07-13 11:05  WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.exe
     文件         180  2019-07-13 11:01  WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.Form1.resources
     文件       30208  2019-07-13 11:05  WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.pdb
     文件         180  2019-07-13 11:01  WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.Properties.Resources.resources
     文件         536  2019-07-13 10:57  WindowsFormsApplication1\Program.cs
     目录           0  2019-07-13 10:57  WindowsFormsApplication1\Properties\
............此处省略7个文件信息

评论

共有 条评论