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(); }
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(); }