public void SetUpdateProgressFunc(BarcodeGenerateProgress func)
 {
     progressFunc = func;
 }
 public BarcodeGeneratorApplication()
 {
     progressFunc = BarcodeGenerateProgressUpdate;
 }