public void SetReadOnly() { Payment_GB.Enabled = false; Nominas_GB.Enabled = false; Submit_BT.Enabled = false; Datos_Lineas.DataSource = PayrollList.GetByPagoList(_entity.GetInfo(false), false).GetSortedList(); }
protected override void RefreshMainData() { Datos.DataSource = _entity; PgMng.Grow(); Datos_Lineas.DataSource = PayrollList.GetByPagoList(_entity, false).GetSortedList(); PgMng.Grow(); Fecha_DTP.Value = _entity.Fecha; Vencimiento_DTP.Value = _entity.Vencimiento; base.RefreshMainData(); }