Interaction logic for PageManager.xaml
Inheritance: System.Windows.Controls.UserControl, IPage
Beispiel #1
0
        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);
            }
        }
Beispiel #2
0
 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());
     }
 }
Beispiel #3
0
 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());
     }
 }