How to Drag & Drop QR Code Barcode Generator Control to .NET Windows Forms
Top
To print QR Code on .NET Windows Forms directly, you need to use OnBarcode .NET Barcode Generator Windows Forms Control.
- Download .NET QR Code Generator Windows Forms Control, unzip, and copy WinForms.dll to your .NET project folder.
- Add it to .NET Visual Studio Toolbox:
- In your .NET Visual Studio, click "view" then "toolbox", right click in toolbox, select menu Choose Items...
- In the pop-up "Choose Toolbox Items" form, click "Browse..."to select OnBarcode.QR Code.WinForms.dll.
- "View All" in toolbox, and you will find four more items under "Components" section: LinearWinForm, DataMatrixWinForm, PDF417WinForm, and QRCodeWinForm.
- Drag and drop "QRCodeWinForm" to your Windows Forms.
- Run the Windows application to view the generated barcodes. Barcode settings are customizable in the right-side "properties" section.
Generating & Printing QR Code in Windows Forms Using .NET Class
Top
- Add OnBarcode.Barcode.WinForms.dll to .NET project reference.
- Use the OnBarcode.Barcode as the namespace to generate 2D barcodes in your C# or VB.NET class.
- Add the following C# code to your .NET class:
QRCode qrcode = new QRCode();
qrcode.Data = "QRCode1234567";
qrcode.X = 4;
qrcode.drawBarcode("c:\\qr_code.png");
If you need generate QR Code barcodes in your Windows Forms.NET class using C# or VB.NET, we provides complete barcode generation source code for QR Code in C# and QR Code in VB.NET.
.NET WinForms Barcode Generator Supporting Barcode Types
Top
Barcode DLL for .NET WinForms - Barcode Image Generation
- 1D / Linear Barcodes in .NET WinForms:
- 2D / Matrix Barcodes in .NET WinForms: Data Matrix, PDF-417, QR Code , Micro PDF-417, Micro QR Code
