Example #1
0
 public printForm(string name, string price, string barcode)
 {
     InitializeComponent();
     this.names    = name;
     this.prices   = price;
     this.barcodes = barcode;
     tbxCnt.Focus();
     settings = Properties.printer.Default;
 }
Example #2
0
 public printerSettings()
 {
     InitializeComponent();
     settings          = Properties.printer.Default;
     ipTbx.Text        = settings.ip;
     TbxNetPort.Text   = settings.port.ToString();
     Num_Label_W.Value = settings.witdh;
     Num_Label_H.Value = settings.height;
     Num_GapFeed.Value = settings.gap;
     if (settings.PrinterInterface == "USB")
     {
         usbRadio.Checked = true;
     }
     if (settings.PrinterInterface == "Ethernet")
     {
         ethernetRadio.Checked = true;
     }
 }