Exemple #1
0
 void ActualizarGastos()
 {
     bs_gastos.ResetBindings(true);
     bs_gastos.DataSource    = ObjCajaDiaria.LISTAGASTOS();
     dgrid_gastos.DataSource = bs_gastos;
     dgrid_gastos.ClearSelection();
     btn_ModificarGasto.Enabled      = false;
     btn_EliminarGasto.Enabled       = false;
     dgrid_gastos.Columns[3].Visible = false;
     dgrid_gastos.Columns[2].Visible = false;
 }
 public bool CobrosYGastosCargados(Ccaja_diaria caja)
 {
     if (caja.LISTACOBROS() == null)
     {
         return(false);
     }
     if (caja.LISTAGASTOS() == null)
     {
         return(false);
     }
     return(true);
 }