Moved SaleForm code to Controller, have to put Exception handlers for PermissionException

This commit is contained in:
unknown committed 2011-01-11 01:19:11 +05:30
1 parent 853fad0692
commit c63bc62304
9 files changed
+592 -480

No files matched your search

@@ -44,7 +44,7 @@ namespace Tanshu.Accounts.PointOfSale.Updates
{
//Guid gd = new Guid(dgvPending.Rows[e.RowIndex].Cells[2].Value.ToString());
PendingBillsBO current = (PendingBillsBO)bsPending.Current;
using (SalesForm frmSale = new SalesForm(current.voucherID))
using (SalesForm frmSale = new SalesForm(current.voucherID, new BillController()))
frmSale.ShowDialog();
btnShowBill_Click(this, null);
}