BizCode Barcode Generator for WinForms
The most robust & powerful barcode component for Microsoft .NET Windows Forms
Quick Overviews
  • Professional barcode control
  • Flexible controls provided
  • Support WinForms projects
  • Linear & 2D barcodes support
  • Winforms Data-binding support
How to Generate Barcodes in .NET WinForms using C#
BizCode Generator for WinForms is a robust .NET DLL class library that supports 20+ linear and 2D barcodes generation in Window applications and console applications in .NET Framework 2.0, 3.0, 3.5 and 4.0. Users may feel easy to use this barcode control SDK to generate barcodes for their specific needs.
WinForms Barcode Generator Requirements
Windows OS
Can be used in Microsoft Windows 7, Windows Vista, Windows XP, Windows Server 2008, Windows Server 2005, etc
.NET Technology Support
Fully written in managed C# in .NET 2.0, 3.0, 3.5 and 4.0, entirely integrate into Windows Applications, Crystal Reports, RDLC, and Reporting Service
WinForms Barcode Generator Test Environment
Test Environment
Test this barcode DLL in this environment which has Microsoft Windows XP, Microsoft Visual Studio 2005 and Visual C#.NET installed
Test Product
BizCode Generator for WinForms
Generate Barcodes by Adding Reference to Project in Visual C#.NET
  1. Unzip .NET Barcode Generator for Winforms trial;
  2. Copy BusinessRefinery.Barcode.Win.dll to your .NET Winforms project folder;
    (Do not copy dll to .NET bin directory; Visual Studio build tools will do it for you.)
  3. Run Visual Studio .NET and open an existed Windows Application or create a new one;
  4. Go to "Project" and choose "Add Reference";
  5. Go to "Browse" and select BusinessRefinery.Barcode.Win.dll;
  6. Drag and drop a Button to Form 1, and double click on the Button;
  7. In coding page, please following the C# code accordingly to generate barcodes.
Generate Barcodes Using Barcode Control in C#.NET
  1. Unzip BizCode Generator for Winforms trial;
  2. Open your Microsoft Visual Studio and create a .NET Winforms project named "BR-Barcode";
  3. Go to Toolbox, right click to select "Choose Items... ";
  4. In "Choose Toolbox Items" form, click button "Browse...", and select BusinessRefinery.Barcode.Win.dll;
  5. After selection, you will find four items under "Components" section: WinLinearBarcode, WinDataMatrix, WinPDF417, and WinQRCode;
  6. Drag and drop a WinDataMatrix to the Form;
  7. Double click on the generated barcode;
  8. In coding page, please following the C# code accordingly to generate barcodes.
Copy the Following C# Coding in .NET WinForms to Generate Barcodes
using BusinessRefinery.Barcode;
DataMatrix barcode = new DataMatrix();
barcode.DataMode = DataMatrixDataMode.ASCII;
barcode.FormatMode = DataMatrixFormatMode.Format_104X104;
barcode.BarcodeUnit = BarcodeUnit.PIXEL;
barcode.Code = "0123456789";
barcode.BottomMargin = 7;
barcode.TopMargin = 7;
barcode.LeftMargin = 5;
barcode.RightMargin = 5;
barcode.Rotate = Rotate.Rotate180;
barcode.Format = ImageFormat.Png;
barcode.drawBarcode2ImageFile("c:/datamatrix-csharp.Png");