예제 #1
0
        public void PageSelected(NotebookPage page)
        {
            if (!TextPanel.Enabled)
            {
                TextPanel.Enabled = true;
            }

            if (CurrentPage != null)
            {
                CurrentPage.Text = TextPanel.Content;
            }

            CurrentPage       = page;
            TextPanel.Content = page.Text;
        }