void AccountManager_Initialize() { if (accountManager == null) { accountpage = new Pages.Account.Page(); accountpage.LoadUserConfiguration(CurrentUser); accountpage.UserChanged += accountpage_UserChanged; accountManager = new PageManager(); accountManager.TabTitle = "Account Management"; accountManager.TabImage = new Uri("pack://application:,,,/TrakHound-Dashboard;component/Resources/blank_profile_01_sm.png"); accountManager.AddPage(accountpage); } }
void Options_Initialize() { if (optionsManager == null) { optionsManager = new PageManager(); optionsManager.TabTitle = "Options"; optionsManager.TabImage = new Uri("pack://application:,,,/TrakHound-Dashboard;component/Resources/Options_01.png"); optionsManager.AddPage(new Pages.Options.General.Page()); optionsManager.AddPage(new Pages.Options.API.Page()); optionsManager.AddPage(new Pages.Options.Logger.Page()); } }
void About_Initialize() { if (aboutManager == null) { aboutManager = new PageManager(); aboutManager.TabTitle = "About"; aboutManager.TabImage = new Uri("pack://application:,,,/TrakHound-Dashboard;component/Resources/About_01.png"); aboutManager.AddPage(new Pages.About.Information.Page()); aboutManager.AddPage(new Pages.About.License.Page()); } }