Esempio n. 1
0
 public static void testc()
 {
     NavigationServiceBase.Init(this.MainFrame);
     NotificationService.Init(this.NotificationDisplay);
     MsgBoxService.Init(this.MessageBoxDisplay);
     PopupService.Init(this.PopupDisplay);
 }
Esempio n. 2
0
        public MasterPage(bool goToSearch = false)
        {
            this.InitializeComponent();

            NavigationServiceBase.Init(this.MainFrame);
            NotificationService.Init(this.NotificationDisplay);
            MsgBoxService.Init(this.MessageBoxDisplay);
            PopupService.Init(this.PopupDisplay);


            if (goToSearch)
            {
                //this.MainFrame.Navigate(typeof(SearchResultsView));
                NavigationService.Navigate("SearchResultsView");
            }
            else
            {
                NavigationService.Navigate("SplashScreenView");
            }
        }