public void InvoiceListNew(List <ISaleItem> list, IBuyer buyer, IVendor vendor, IInvoice invoice) { InvoiceDocument i = new InvoiceDocument(); //i.InvoiceOrder(invoice); // wyjście do numeracji, po odczycie z bazy danych i.InvoiceVendor(vendor); i.InvoiceBuyer(buyer); i.InvoiceListData(list); i.Show(); }
private void button1_Click(object sender, EventArgs e) { InvoiceDocument inv = new InvoiceDocument(); inv.Show(); }