Пример #1
0
 /// <summary>
 /// Prints a single UPC label for the item provided
 /// </summary>
 /// <param name="item"></param>
 public static void PrintUPCLabel(Item item)
 {
     upc = new UPC(item);
     upcImage = upc.upcImage;
     PrintDocument pd = new PrintDocument();
     pd.PrintPage += PrintPage;
     pd.Print();
 }
Пример #2
0
 private void btnChange_Click(object sender, EventArgs e)
 {
     upc = new UPC(txtUPC.Text);
     picUPC.Image = upc.upcImage;
 }