Пример #1
0
 protected virtual void InitializePage(Page newPage)
 {
     if (this._data != null)
     {
         newPage.Initialize(this._data);
         this._data = null;
     }
 }
Пример #2
0
 protected virtual void OnDisplayChanged(EventArgs e)
 {
     this._page = null;
     if (this._displayChangedHandler != null)
     {
         this._displayChangedHandler(this, e);
     }
 }
Пример #3
0
 internal Page GetPage(bool recreate)
 {
     if (recreate || (this._page == null))
     {
         this._page = this.GenerateDisplayPage();
     }
     return this._page;
 }
Пример #4
0
 protected override void InitializePage(Page page)
 {
     base.InitializePage(page);
     ((MemberPage) page).SetItem(this._item);
 }
Пример #5
0
 public Page CreatePage()
 {
     Page newPage = new Page();
     this.InitializePage(newPage);
     return newPage;
 }
Пример #6
0
 protected override void InitializePage(Page page)
 {
     this.GenerateDeclaration();
     this.AddHorizontalLine();
     this.AddSectionBreak();
     if (this.GenerateInformation())
     {
         this.AddSectionBreak();
     }
     this.GenerateSearchLinks();
     this.AddHorizontalLine();
     this.GenerateHelpLinks();
     base.InitializePage(page);
     ((ClassViewPage) page).CurrentType = this.CurrentType;
 }