Bloom.Edit.EditingModel.SetView C# (CSharp) Method

SetView() public method

public SetView ( EditingView view ) : void
view EditingView
return void
        public void SetView(EditingView view)
        {
            _view = view;
        }

Usage Example

Example #1
0
        //autofac uses this
        public EditingView(EditingModel model, PageListView pageListView, TemplatePagesView templatePagesView,
			CutCommand cutCommand, CopyCommand copyCommand, PasteCommand pasteCommand, UndoCommand undoCommand, DeletePageCommand deletePageCommand)
        {
            _model = model;
            _pageListView = pageListView;
            _templatePagesView = templatePagesView;
            _cutCommand = cutCommand;
            _copyCommand = copyCommand;
            _pasteCommand = pasteCommand;
            _undoCommand = undoCommand;
            _deletePageCommand = deletePageCommand;
            InitializeComponent();
            _splitContainer1.Tag = _splitContainer1.SplitterDistance;//save it
            //don't let it grow automatically
            //            _splitContainer1.SplitterMoved+= ((object sender, SplitterEventArgs e) => _splitContainer1.SplitterDistance = (int)_splitContainer1.Tag);
            SetupThumnailLists();
            _model.SetView(this);
            _browser1.SetEditingCommands(cutCommand, copyCommand,pasteCommand, undoCommand);

            _browser1.GeckoReady+=new EventHandler(OnGeckoReady);

            _menusToolStrip.Renderer = new FixedToolStripRenderer();

            //we're giving it to the parent control through the TopBarControls property
            Controls.Remove(_topBarPanel);
        }
All Usage Examples Of Bloom.Edit.EditingModel::SetView