예제 #1
0
 public GenericFieldInfoControl(IDictionary <string, LabelDef.Field> referenceList, Label.LabelSet labelset, Form mainForm)
 {
     InitializeComponent();
     InitResources();
     this.mainForm           = mainForm;
     this.localreferenceList = referenceList;
     this.labelset           = labelset;
     rotationcombo.Items.AddRange(new String[] { "0", "90", "180", "270" });
     rotationcombo.SelectedIndex = 0;
     manualwhcheck.Checked       = false;
 }
예제 #2
0
 public ConcatFieldInfoControl(IDictionary <string, LabelDef.Field> referenceList, Label.LabelSet labelset, IDictionary <string, LabelDef.FontX> fontList, Form mainForm)
     : base(referenceList, labelset, mainForm)
 {
     InitializeComponent();
     EnableComponents();
     this.localfontList = fontList;
     alignTextcombo.Items.AddRange(new String[] { "Left", "Right" });
     alignTextcombo.SelectedIndex = 0;
     concatmethodcombo.Items.AddRange(new String[] { "Horizontal", "Vertical" });
     concatmethodcombo.SelectedIndex = 0;
     SetLanguage();
 }
예제 #3
0
 public TextFieldInfoControl(IDictionary <string, LabelDef.Field> referenceList, Label.LabelSet labelset, IDictionary <string, LabelDef.FontX> fontList, Form mainForm)
     : base(referenceList, labelset, mainForm)
 {
     InitializeComponent();
     EnableComponents();
     this.localfontList = fontList;
     alignTextcombo.Items.AddRange(new String[] { "Left", "Right" });
     alignTextcombo.SelectedIndex = 0;
     typecombo.Items.AddRange(new String[] { "Text", "Date", "Decimal:Whole", "Decimal:Integer", "Decimal:Fraction" });
     typecombo.SelectedIndex = 0;
     SetLanguage();
 }
예제 #4
0
 public ImageFieldInfoControl(IDictionary <string, LabelDef.Field> referenceList, Label.LabelSet labelset, Form mainForm)
     : base(referenceList, labelset, mainForm)
 {
     InitializeComponent();
     resizestylecombo.Items.AddRange(new String[] { "Normal", "Stretch" });
     resizestylecombo.SelectedIndex = 0;
     greyscalecheck.Checked         = false;
     SetLanguage();
     EnableComponents();
 }
예제 #5
0
        public BarcodeFieldInfoControl(IDictionary <string, LabelDef.Field> referenceList, Label.LabelSet labelset, Form mainForm)
            : base(referenceList, labelset, mainForm)
        {
            InitializeComponent();
            EnableComponents();
            manualwhcheck.Enabled = false;
            widthlbl.Enabled      = true;
            widthtxt.Enabled      = true;
            heightlbl.Enabled     = true;
            heighttxt.Enabled     = true;

            typecombo.Items.AddRange(new String[] { "EAN8", "EAN13", "UPCVersionA", "Code39", "Interleaved2Of5", "EAN128", "DataMatrix", "PDF417" });
            typecombo.SelectedIndex = 0;
            alignTextcombo.Items.AddRange(new String[] { "Left", "Right" });
            alignTextcombo.SelectedIndex = 0;
            SetLanguage();
        }