Exemplo n.º 1
0
        private void AddToPrint()
        {
            BigBoxPrintModel model = new BigBoxPrintModel
            {
                Company       = _company,
                Order         = _order,
                ContactPerson = _contactPerson,
                PhoneNumber   = _phoneNumber,
                Street        = _street,
                ZipCode       = _zipCode,
                City          = _city,
                Box0          = (_checkBoxIsChecked) ? _box_0 : 0,
                Box1          = _box_1,
                Items         = _items,
                Quantity      = _quantity,
                Copies        = _copies
            };

            BigBoxLablePrint print = new BigBoxLablePrint(model);

            SavedModel.bigBoxPrintModel = model;
        }
 public BigBoxLablePrint(BigBoxPrintModel model)
 {
     this.model     = model;
     this.PaperSize = (Dictionary <string, PaperSizeModel>)SettingFromString(PrinterSettingsModel.PaperSize);
     InitialSettingsAndPrint();
 }