public CollectionAddRenameFormPresenter(ICollectionAddRenameForm form, ICollectionAddRenameModel model)
        {
            _form  = form;
            _model = model;

            new CollectionAddRenamePresenter(form.CollectionRenameView, model);
        }
コード例 #2
0
        public CollectionAddRenamePresenter(ICollectionRenameView view, ICollectionAddRenameModel model)
        {
            _view  = view;
            _model = model;

            _view.CollectionNameChanged += ViewOnCollectionNameChanged;
            _view.Submited += ViewOnSubmited;
            _view.Canceled += ViewOnCanceled;
        }