Esempio n. 1
0
 /// <summary>Constructor: creates a label template initialized from parameter labelTemplate.</summary>
 public LabelTemplate(LabelDS.LabelDetailTableRow labelTemplate)
 {
     //Constructor
     try {
         if (labelTemplate != null)
         {
             this.mLabelType   = labelTemplate.LABEL_TYPE;
             this.mPrinterType = !labelTemplate.IsPrinterTypeNull() ? labelTemplate.PrinterType : "";
             this.mLabelString = !labelTemplate.IsLABEL_STRINGNull() ? labelTemplate.LABEL_STRING : "";
         }
     }
     catch (Exception ex) { throw new ApplicationException("Unexpected error while creating new Label Template instance.", ex); }
 }