예제 #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;
 }