private void GetNextInvoiceNo() { invObj = new InvoiceClass(); txtInvoiceNo.Text = invObj.GetNextInvoiceNo(); }