/// <summary> /// Creates all pages required for submitting a walk-in ticket. /// </summary> private void CreatePages() { m_StudentId_Page = new StudentIDPage(); m_StudentId_Page.PageFinished += PageFinished; m_Appointment_Page = new AppointmentPage(); m_Appointment_Page.PageFinished += PageFinished; m_AppointmentProblem_Page = new AppointmentProblemPage(); m_AppointmentProblem_Page.PageFinished += PageFinished; m_WiProblemPage = new ProblemPage(); m_WiProblemPage.PageFinished += PageFinished; m_WiSummaryPage = new SummaryPage(); m_WiSummaryPage.PageFinished += PageFinished; }
// Public Functions /////////////////////////////////////////////////////////////////// /// <summary> /// Removes all backpage history from the program instance. /// </summary> private void RemoveBackHistory() { //Reset all pages StudentIDPage.Reset(); AppointmentPage.Reset(); ProblemPage.Reset(); AppointmentProblemPage.Reset(); SummaryPage.Reset(); //Remove Windows back history JournalEntry entry = ContentFrame.NavigationService.RemoveBackEntry(); while (entry != null) { entry = ContentFrame.NavigationService.RemoveBackEntry(); } }
private void CreatePages() { _student_id_page = new StudentIDPage(); _student_id_page.PageFinished += _page_PageFinished; _appt_page = new AppointmentPage(); _appt_page.PageFinished += _page_PageFinished; _appt_prob_page = new AppointmentProblemPage(); _appt_prob_page.PageFinished += _page_PageFinished; _problem_page = new ProblemPage(); _problem_page.PageFinished += _page_PageFinished; _summary_page = new SummaryPage(); _summary_page.PageFinished += _summary_page_PageFinished; }