public PageContainer() { currentPage = new InstructionPage(); Content = currentPage; }
public void SwitchTo(AppPage page) { pages.Push(currentPage); currentPage = page; Content = currentPage; }
public static void SwitchTo(AppPage page) { pc.SwitchTo(page); }