Exemple #1
0
        public RepeticionesController(RepeticionesBL sl)
        {
            repeticionesLogic = sl;
            repeticionesForm  = new RepeticionesCRUD();

            /*repeticionesLogic.UpdateObject(Repeticiones.Instance);
             * repeticionesForm.Repeticiones = Repeticiones.Instance;
             */
            Repeticiones rep = new Repeticiones();

            /*rep.Id = 154;
             * rep.IdComprobante = 154;
             */
            //rep.DiaMes = 25;
            //repeticionesLogic.UpdateObject(rep);
            //repeticionesForm.Repeticiones = rep;// new Repeticiones();
            //repeticionesForm.SaveObject += new ObjectEvent(SaveObject);
            //repeticionesForm.GetObjectById += new GetObjectEvent(GetObjectById);
            //repeticionesForm.PropertyValueListNeeded += new PropertyValueListNeeded(PropertyValueListNeeded);
        }
Exemple #2
0
 public void SetRepeticionesLogic(RepeticionesBL sl)
 {
     repeticionesLogic = sl;
 }