public SettingPage() { this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += navigationHelper_LoadState; this.navigationHelper.SaveState += navigationHelper_SaveState; }
public AuthPage() { this.InitializeComponent(); //ChangeUserAgent(LightKindomHtmlClient.DefaultUserAgent); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += navigationHelper_LoadState; this.navigationHelper.SaveState += navigationHelper_SaveState; webView.NavigationStarting += WebView_NavigationStarting; webView.NavigationCompleted += webView_NavigationCompleted; }
public SeriesIndexPage() { this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += navigationHelper_LoadState; this.navigationHelper.SaveState += navigationHelper_SaveState; this.SizeChanged += SeriesIndexPage_SizeChanged; }
public HubPage() { this.InitializeComponent(); this.SizeChanged += HubPage_SizeChanged; this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += this.NavigationHelper_LoadState; this.navigationHelper.SaveState += this.NavigationHelper_SaveState; ViewModel.Settings = AppGlobal.Settings; #if WINDOWS_APP Windows.UI.ApplicationSettings.SettingsPane.GetForCurrentView().CommandsRequested += App.ApplicationWiseCommands_CommandsRequested; AppGlobal.RecentListChanged += Current_RecentListChanged; AppGlobal.BookmarkListChanged += Current_BookmarkListChanged; #endif }