Beispiel #1
0
 public PointPresenterControllerMain(PointViewModel pvm, TeamChosenViewModel tvm, PreviewViewModel prvm)
 {
     presenter = new Presenter(tvm, pvm, prvm);
     ctrl      = new Controller();
     //
     tvm.AttachController(ctrl);
     pvm.AttachController(ctrl);
     prvm.AttachController(ctrl);
 }
        public Presenter(TeamChosenViewModel tvm, PointViewModel pvm, PreviewViewModel prvm)
        {
            //_tmv = new TeamChosenViewModel();
            //_pvm = new PointViewModel();
            //_prvm = new PreviewViewModel();

            _tmv  = tvm;
            _pvm  = pvm;
            _prvm = prvm;
        }