`using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ZXing;
using ZXing.Common;
namespace WindowsFormsApp5
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
this.ShowInTaskbar = true;
}
private Bitmap generentcode (string 文本, int _width,int _hight,int _margin)
{
Bitmap result = null;
BarcodeWriter barcodeWriter = new BarcodeWriter();
barcodeWrite