public frmPurchaseReturnOrderAddEdit(int salesReturnHeaderID)
        {
            InitializeComponent();
            pURPurchaseReturnHeaderWrapper = new PURPurchaseReturnHeaderWrapper();
            pURPurchaseReturnLineWrraper = new PURPurchaseReturnLineWrraper();
            bDProductWrapper = new BDProductWrapper();
            FillProductCBX();
            FillInventoryCBX();

            FillScreenWithDataForEdit(salesReturnHeaderID);
        }
 public frmPurchaseReturnOrderAddEdit()
 {
     InitializeComponent();
     pURPurchaseReturnHeaderWrapper = new PURPurchaseReturnHeaderWrapper();
     pURPurchaseReturnLineWrraper = new PURPurchaseReturnLineWrraper();
     bDProductWrapper = new BDProductWrapper();
     pURPurchaseReturnHeader = new PURPurchaseReturnHeader();
     pURPurchaseReturnLineCollection = new PURPurchaseReturnLineCollection();
     FillProductCBX();
     dgrd_ReturnOrderLines.Enabled = false;
 }