public void PageSelected(NotebookPage page) { if (!TextPanel.Enabled) { TextPanel.Enabled = true; } if (CurrentPage != null) { CurrentPage.Text = TextPanel.Content; } CurrentPage = page; TextPanel.Content = page.Text; }
public void PageSelected(NotebookPage page) { if (!TextPanel.Enabled) { TextPanel.Enabled = true; } if (CurrentPage != null) { CurrentPage.Text = TextPanel.Content; } CurrentPage = page; TextPanel.Content = page.Text; }