Beispiel #1
0
 private void txtBarCode_Leave(object sender, EventArgs e)
 {
     if (!string.IsNullOrEmpty(txtBarCode.Text))
     {
         try
         {
             pbBarcode.Image = BarQrCodeLib.GetBarCode(txtBarCode.Text.Trim());
         }
         catch { }
     }
 }
Beispiel #2
0
 private void Form1_Load(object sender, EventArgs e)
 {
     pictureBox1.Image = BarQrCodeLib.GetBarCode("1000111333");
     pictureBox2.Image = BarQrCodeLib.GetQrCode("http://www.lzzy.net");
 }