12 2019 档案
摘要:string file = Application.StartupPath + "\\config.ini"; public Form1() { InitializeComponent(); } [DllImport("kernel32")] private static extern bool W
阅读全文
摘要:利用ZXing生成条码图像的主要代码段 using ZXing; using ZXing.Common; private void button1_Click(object sender, EventArgs e) { string SN = textBox1.Text; if (string.Is
阅读全文
摘要:1 class Printer 2 { 3 [DllImport("kernel32.dll", CharSet = CharSet.Auto)] 4 private static extern SafeFileHandle CreateFile(string lpFileName, int dwD
阅读全文
摘要:串口扫码枪读取主要代码段 1 public partial class Form1 : Form 2 { 3 public Form1() 4 { 5 InitializeComponent(); 6 } 7 SerialPort sp = new SerialPort("COM1", 115200
阅读全文
浙公网安备 33010602011771号