public void addPage(Pages page) { pg.Add(page); }
private void clearPages() { currentPage = null; pageTitleBox.Text = ""; pageContentBox.Text = ""; }