public SimplePage(LibraryPage page) { InitializeComponent(); Dock = DockStyle.Fill; Page = page; Content = new PageContent(this); TagInfoControl = new LibraryPageTagInfo(Page); pnContainer.Controls.Add(Content); Suspend(); }
public TabPage(LibraryPage page) { InitializeComponent(); Page = page; Text = Page.Name; Controls.Add(pnContainer); Controls.Add(pnEmpty); Content = new PageContent(this); TagInfoControl = new LibraryPageTagInfo(Page); Suspend(); }