QR Code Image Sample - pqScan.com
.NET QR Code Barcode Creator Windows Forms Control Encoding QR Code Image in .NET WinForms Online Demo Download Trial Purchase Now

How to Generate QR Code in .NET WinForms

back to home  >  .NET Barcode Generator SDK  >   Generate Barcodes in Winforms  >  Generate QR Code in Winforms

.NET WinForms QR Code Creator is one of the barcode generation functions in pqScan Barcode Creator For Winforms .NET. There are two common ways to generate QRCode in .NET WinForms applications. One is drag and drop Barcode Creator WinForms Control to Windows Forms, the other is print QR Code in Form class.

Creating QRCode by .NET WinForms Barcode Creator Control

Adding a Barcode Windows Forms control and painting QR Code onto the form is very simple, only need a little work:

  1. Download and unzip the .NET Barcode Creator WinForms Control package to development computer.
  2. In Visual Studio Windows Form design mode, right click the toolbox and select menu Choose Items...
  3. In the pup-up dialog, click Browse... to choose "PQScan.BarcodeCreator.dll" file.
  4. Check the pqScan Barcode Creator WinForms control "BarcodeWinControl" and then it will appear into toolbox.
  5. Drag and drop "BarcodeWinControl" to your Windows Froms.
  6. Run the Windows project, and you will find a QRCode encoded on the Form.
  7. Specify the QR Code image from right-side "properties" setting pane or in run-time code.

Creating QR Code by .NET Barcode API in Windows Form class

Using .NET QR Code Creator component to generate QRCode in Form class from Windows application, it will spend very little time.

  1. Download QRCode barcode generator SDK.
  2. Add "PQScan.BarcodeCreator.dll" to your .NET WinForms project reference.
  3. Copy and paste the following C# code to your .NET WinForms class:
using System;
using System.Windows.Forms;
using PQScan.BarcodeCreator;

namespace QRCodeGenerateInWinforms
    public partialclassForm1 : Form
        public Form1()

            Barcode qrcode = newBarcode();

            qrcode.Data = "qrcode-demo-code";
            qrcode.BarType = BarCodeType.QRCode;
            qrcode.QRCodeECL = ErrorCorrectionLevelMode.L;
            qrcode.Width = 300;
            qrcode.Height = 300;



generate qrcode in .net winforms

.NET Barcode Creator Data Matrix Creator in Winforms PDF 417 Creator in Winforms Aztec Code Creator in Winforms EAN 13 Creator in Winforms EAN 8 Creator in Winforms UPC A Creator in Winforms Code 128 Creator in Winforms Code 39 Creator in Winforms