//--------------------------------------------------------Constructor:----------------------------------------------------------------\\ #region --Constructors-- public MainPage() { InitializeComponent(); UiUtils.ApplyBackground(this); NavigationCacheMode = NavigationCacheMode.Required; PAGES = new MainPageNavigationPage[9] { // Home: new MainPageNavigationPage(typeof(HomePage), home_navItem, "Home"), // My TUM: new MainPageNavigationPage(typeof(UserPage), user_navItem, "My TUM"), new MainPageNavigationPage(typeof(GradesPage), grades_navItem, "Grades"), new MainPageNavigationPage(typeof(LecturesPage), lectures_navItem, "Lectures"), new MainPageNavigationPage(typeof(CalendarPage), calendar_navItem, "Calendar"), new MainPageNavigationPage(typeof(TuitionFeesPage), tuitionFees_navItem, "Tuition Fees"), // General TUM: new MainPageNavigationPage(typeof(CanteensPage), canteens_navItem, "Canteens"), new MainPageNavigationPage(typeof(NewsPage), news_navItem, "News"), new MainPageNavigationPage(typeof(StudyRoomsPage), studyRooms_navItem, "Study Rooms") }; CONTENT_FRAME = contentFrame; }
//--------------------------------------------------------Constructor:----------------------------------------------------------------\\ #region --Constructors-- public SettingsPage() { InitializeComponent(); UiUtils.ApplyBackground(this); LoadAppVersion(); VIEW_MODEL.MODEL.PropertyChanged += MODEL_PropertyChanged; if (VIEW_MODEL.MODEL.DebugSettingsEnabled) { SETTINGS_PAGES.Add(DEBUG_SETTINGS); } }
//--------------------------------------------------------Constructor:----------------------------------------------------------------\\ #region --Constructors-- public BackgroundTaskSettingsPage() { InitializeComponent(); UiUtils.ApplyBackground(this); }
//--------------------------------------------------------Attributes:-----------------------------------------------------------------\\ #region --Attributes-- #endregion //--------------------------------------------------------Constructor:----------------------------------------------------------------\\ #region --Constructors-- public CreditsPage() { InitializeComponent(); UiUtils.ApplyBackground(this); }
//--------------------------------------------------------Constructor:----------------------------------------------------------------\\ #region --Constructors-- public TumOnlineSettingsPage() { InitializeComponent(); UiUtils.ApplyBackground(this); }
//--------------------------------------------------------Constructor:----------------------------------------------------------------\\ #region --Constructors-- public SecuritySettingsPage() { InitializeComponent(); UiUtils.ApplyBackground(this); }
//--------------------------------------------------------Constructor:----------------------------------------------------------------\\ #region --Constructors-- public RegisterPage() { InitializeComponent(); UiUtils.ApplyBackground(this); }
//--------------------------------------------------------Constructor:----------------------------------------------------------------\\ #region --Constructors-- public AddAccountPage() { InitializeComponent(); UiUtils.ApplyBackground(this); }
//--------------------------------------------------------Constructor:----------------------------------------------------------------\\ #region --Constructors-- public PersonalizeSettingsPage() { InitializeComponent(); UiUtils.ApplyBackground(this); }
//--------------------------------------------------------Constructor:----------------------------------------------------------------\\ #region --Constructors-- public ChatPage() { InitializeComponent(); UiUtils.ApplyBackground(this); NavigationCacheMode = NavigationCacheMode.Required; }
//--------------------------------------------------------Constructor:----------------------------------------------------------------\\ #region --Constructors-- public SetupPage() { InitializeComponent(); UiUtils.ApplyBackground(this); VIEW_MODEL.MODEL.PropertyChanged += MODEL_PropertyChanged; }
//--------------------------------------------------------Constructor:----------------------------------------------------------------\\ #region --Constructors-- public RegisterIoTDevicePage() { InitializeComponent(); UiUtils.ApplyBackground(this); UpdateViewState(State_0.Name); }