示例#1
0
        public DataTable InsertBarcode(string ProductID, int Quantity, string LotNumber, string VendorID)
        {
            DataTable table = new DataTable();

            table = bg.GenerateBarcode(LotNumber, Quantity, ProductID, VendorID);

            return(table);
        }
示例#2
0
 private void AddNewBook(object sender, BookRelatedEventArgs e)
 {
     Book = e.Book;
     LibraryDataIO.Instance.AddBook(Book);
     var barcode = barcodeGenerator.GenerateBarcode(Book.ID);
 }