protected override void OnNavigatedFrom(System.Windows.Navigation.NavigationEventArgs e) { settingManager.SaveSettings(); base.OnNavigatedFrom(e); }
private void Frame_Navigated(object sender, System.Windows.Navigation.NavigationEventArgs e) { }
private void Player_Navigated(object sender, System.Windows.Navigation.NavigationEventArgs e) { this.DisableJavascript(); }
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) { if ((App.Current as App).loadData == true) { base.OnNavigatedTo(e); string parent_category_id = ""; string parent_category_name = ""; string msg = ""; if (NavigationContext.QueryString.TryGetValue("category_id", out msg)) { parent_category_id = msg; this.parent_category_id = parent_category_id; } if (NavigationContext.QueryString.TryGetValue("category_name", out msg)) { parent_category_name = msg; this.parent_category_name = parent_category_name; } lblChildCategory_Name.Text = parent_category_name; if (!isGetDataFromFile()) //API Response de xem lay du lieu tu Server hay lay du lieu tu Storage { enableProgressBar(); BindingDataChildCategory_ServerData(); } else { if (this.parent_category_id.Equals("13")) { this.childCategoryFile = "music_child_category.json"; } else if (this.parent_category_id.Equals("14")) { this.childCategoryFile = "phim_child_category.json"; } else if (this.parent_category_id.Equals("15")) { this.childCategoryFile = "clip_child_category.json"; } else if (this.parent_category_id.Equals("16")) { this.childCategoryFile = "live_child_category.json"; } else if (this.parent_category_id.Equals("552")) { this.childCategoryFile = "radio_child_category.json"; } else if (this.parent_category_id.Equals("685")) { this.childCategoryFile = "news_child_category.json"; } else { this.childCategoryFile = "child_category.json"; } BindingDataParentCategory_FixData(folder, childCategoryFile); } } else { (App.Current as App).loadData = true; base.OnNavigatedTo(e); } }
void browser_LoadCompleted(object sender, System.Windows.Navigation.NavigationEventArgs e) { }
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) { sc.get_doc_catCompleted += sc_get_doc_catCompleted; sc.get_doc_catAsync(); }
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) { this.DataContext = App.ViewModel; base.OnNavigatedTo(e); }
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) { AppReportingService.Flurry_Page_Init(); }
private void NavigationService_LoadCompleted(object sender, System.Windows.Navigation.NavigationEventArgs e) { this.Load(); }
protected override void OnNavigatedFrom(System.Windows.Navigation.NavigationEventArgs e) { base.OnNavigatedFrom(e); viewModel.ItemUpdated -= new EventHandler <ItemUpdatedEventArgs>(OnItemUpdated); viewModel.InitializationCompleted -= new EventHandler <InitializationCompletedEventArgs>(OnViewModelInitialization); }
void Browser_LoadCompleted(object sender, System.Windows.Navigation.NavigationEventArgs e) { ParseViewportMeta(); }
void Browser_LoadCompleted(object sender, System.Windows.Navigation.NavigationEventArgs e) { // How to set base URL of document? Would be nice for relative URLs in for instance stylesheets }
private void Application_LoadCompleted(object sender, System.Windows.Navigation.NavigationEventArgs e) { }
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) { Map.Layers.Clear(); }
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) { base.OnNavigatedTo(e); allPersons.ItemsSource = DataRepository.GroupedPersons; }
private void wbBrowser_Navigated(object sender, System.Windows.Navigation.NavigationEventArgs e) { this.popup.IsOpen = false; btnAuthenticate.IsEnabled = true; }
protected override void OnNavigatedFrom(System.Windows.Navigation.NavigationEventArgs e) { // Save changes to the database. App.ViewModel.SaveChangesToDB(); App.ViewModel.LoadAllItemFromButton(); }
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) { mainitempage.DefaultItem = mainitempage.Items[0]; // App.ViewModel.LoadCollectionsFromDatabase(); }
protected override void OnNavigatedFrom(System.Windows.Navigation.NavigationEventArgs args) { App.Engine.LibraryModel.SaveLibraryState(); base.OnNavigatedFrom(args); }
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) { //Trace the event for debug purposes Utils.Trace("Navigated To MainPage"); //Check if page state has saved focus and apply it back if (State.ContainsKey("FocusedElement")) { focusedElement = this.FindName(State["FocusedElement"] as string) as Control; bFocused = true; //if (null != focusedElement) // focusedElement.Focus(); } else { bFocused = false; } TravelReportInfo travelReportInfo = ((App.Current.RootVisual as PhoneApplicationFrame).DataContext as TravelReportInfo); if (State.ContainsKey("txtDestination")) { travelReportInfo.Destination = State["txtDestination"] as string; } if (State.ContainsKey("txtJustification")) { travelReportInfo.Justification = State["txtJustification"] as string; } if (State.ContainsKey("txtToDate")) { if (!bToDateChangedNavigateTo) { travelReportInfo.LastDay = DateTime.Parse(State["txtToDate"] as string); txtToDate.Value = travelReportInfo.LastDay;//this operation call txtFromDate_ValueChanged event bToDateChangedNavigateTo = false; } else { bToDateChangedNavigateTo = false; } } else { //format todata txtToDate.Value = travelReportInfo.LastDay; bToDateChangedNavigateTo = false; } if (State.ContainsKey("txtFromDate")) { if (!bFromDateChangedNavigateTo) { travelReportInfo.FirstDay = DateTime.Parse(State["txtFromDate"] as string); txtFromDate.Value = travelReportInfo.FirstDay;//this operation call txtFromDate_ValueChanged event bFromDateChangedNavigateTo = false; } else { bFromDateChangedNavigateTo = false; } } else { // format fromdata txtFromDate.Value = travelReportInfo.FirstDay; bFromDateChangedNavigateTo = false; } base.OnNavigatedTo(e); }
private void webBrowser_Navigated(object sender, System.Windows.Navigation.NavigationEventArgs e) { String logString = (e != null && e.Uri != null ? e.Uri.ToString() : ""); Utils.log("AppLinkRedirector Navigated (" + logString + ")"); }
private void WebBrowser_LoadCompleted(object sender, System.Windows.Navigation.NavigationEventArgs e) { LoadData(); }
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) { base.OnNavigatedTo(e); UpdateVersion(); }
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) { base.OnNavigatedTo(e); lbPercursos.SelectedIndex = -1; }
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) { base.OnNavigatedTo(e); id = NavigationContext.QueryString["id"]; }
private void calendarDataFrame_LoadCompleted(object sender, System.Windows.Navigation.NavigationEventArgs e) { bind(data); }
protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e) { this.accountControl.SetContent(); base.OnNavigatedTo(e); }