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

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

View File

@ -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);
}