예제 #1
0
 public NuevaTareaVistaModelo(INavigation navigation)
 {
     _navigation             = navigation;
     AgregarTareaCommand     = new Command(agregarTarea);
     CerrarNuevaTareaCommand = new Command(cerrarModal);
     NuevaTarea = new TareaVistaModelo(new Tarea());
 }
예제 #2
0
 public TareaDetalleVistaModelo(TareaVistaModelo tarea)
 {
     _tareasN                   = new TareasN();
     TareaActual                = tarea;
     AgregarObjetivoCommand     = new Command(AgregarObjetivo);
     RefrescarObjetivosCommand  = new Command(TareaActual.CargarObjetivos);
     EliminarObjetivoCommand    = new Command(EliminarObjetivo);
     EliminarRecurrenciaCommand = new Command(EliminarRecurrencia);
     EditarTituloCommand        = new Command(EditarTitulo);
     EditarDescripcionCommand   = new Command(EditarDescripcion);
     EditarColorCommand         = new Command(EditarColor);
 }