예제 #1
0
		public SimplePage(LibraryPage page)
		{
			InitializeComponent();
			Dock = DockStyle.Fill;
			Page = page;
			Content = new PageContent(this);
			TagInfoControl = new LibraryPageTagInfo(Page);
			pnContainer.Controls.Add(Content);
			Suspend();
		}
예제 #2
0
		public TabPage(LibraryPage page)
		{
			InitializeComponent();
			Page = page;
			Text = Page.Name.Replace("&", "&&");
			Controls.Add(pnContainer);
			Controls.Add(pnEmpty);
			Content = new PageContent(this);
			TagInfoControl = new LibraryPageTagInfo(Page);
			Suspend();
		}