示例#1
0
        public AddFormPresenter(IViewFullInfo view)
        {
            _view  = view;
            _add   = (IViewAdd)view;
            _model = Model.GetModel();

            _add.AddEvent += AddToBase;
        }
示例#2
0
        public FullUserListPresenter(IViewFullInfo view)
        {
            _view   = view;
            _delete = (IDelete)view;
            _model  = Model.GetModel();

            _view.ViewEvent     += View;
            _view.EditEvent     += OnUpdate;
            _delete.DeleteEvent += DeleteInBase;
        }