Ejemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="HistoryPresenter"/> class.
        /// </summary>
        /// <param name="view">The view.</param>
        public HistoryPresenter(IHistoryView view)
        {
            this._HistoryView = view;
            this._HistoryHandler = HistoryHandler.Instance;
            this._HistoryHandler.ChangeEvent += new HistoryHandler.ChangeHandler(this.Update);

            SetUpHandler();
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PagePresenter"/> class.
 /// </summary>
 /// <param name="view">The view.</param>
 public PagePresenter(IWebpageView view)
 {
     this._WebPageView = view;
     this._HistoryHandler = HistoryHandler.Instance;
 }