Ejemplo n.º 1
0
 //usato per la funzione AddScrittura
 public ScritturaSingolaPresenter(IScritturaSingloaView view, BilancioService service, string idConto, IScrittureFormView subViewSyncronyzer)
 {
     _idConto = idConto;
     _service = service;
     _view    = view;
     _view.SetPresenter(this);
     _subViewSyncronyzer = subViewSyncronyzer;
     _action             = ContoActionType.New;
 }
Ejemplo n.º 2
0
 //usato per la funzione ShowScrittura
 public ScritturaSingolaPresenter(IScritturaSingloaView view, BilancioService service, ScrittureDTO current, IScrittureFormView subViewSyncronyzer)
 {
     _idConto = current.ParentId;
     _current = current;
     _service = service;
     _view    = view;
     _view.SetPresenter(this);
     _subViewSyncronyzer = subViewSyncronyzer;
     _action             = ContoActionType.Modify;
 }