Exemplo n.º 1
0
        private void PrintBarcode()
        {
            var br = new BarcodeGenerator();

            var barcodeImage = br.DrawBarcode(lblId.Text.ToString().PadLeft(7, '0'));

            var dlg = new frmPrintBarcode(barcodeImage, lblName.Text, lblAssetTag.Text);

            dlg.ShowDialog();
        }