protected override void SetUnlinkedGridValues(Control control)
 {
     if (_gastos != null)
     {
         _gastos.UpdatePagoValues(_entity);
     }
     Expenses_BS.DataSource = ExpenseList.GetSortedList(_gastos, "PrevisionPago", ListSortDirection.Ascending);
     UpdateAllocated();
     RefreshAction();
 }
Exemplo n.º 2
0
        protected override void SetUnlinkedGridValues(string gridName)
        {
            SortedBindingList <ExpenseInfo> gastos = Datos_Lineas.DataSource as Csla.SortedBindingList <ExpenseInfo>;
            ExpenseList list = ExpenseList.GetList(gastos);

            if (gastos != null)
            {
                list.UpdatePagoValues(_entity);
            }
            Datos_Lineas.DataSource = list.GetSortedList();
            UpdateAllocated();
        }