public static void testc() { NavigationServiceBase.Init(this.MainFrame); NotificationService.Init(this.NotificationDisplay); MsgBoxService.Init(this.MessageBoxDisplay); PopupService.Init(this.PopupDisplay); }
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"); } }