public SubCategoriesPage() { this.InitializeComponent(); // Setup the navigation helper this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += navigationHelper_LoadState; this.navigationHelper.SaveState += navigationHelper_SaveState; // Setup the logical page navigation components that allow // the page to only show one pane at a time. this.navigationHelper.GoBackCommand = new ZebritasWin8.Common.RelayCommand(() => this.GoBack(), () => this.CanGoBack()); this.lsvSubCategories.SelectionChanged += itemListView_SelectionChanged; // Start listening for Window size changes // to change from showing two panes to showing a single pane Window.Current.SizeChanged += Window_SizeChanged; this.InvalidateVisualState(); watcher = new Geolocator(); watcher.MovementThreshold = 200; latitude = 150; longitude = 150; comingBack = false; this.Loaded += SubCategoriesPage_Loaded; //prgPlaces.Visibility = System.Windows.Visibility.Visible; }
public ReportersPage() { this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += navigationHelper_LoadState; this.DataContext = staticClasses.selectedEvent; }
public BasicPage1() { this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += navigationHelper_LoadState; this.navigationHelper.SaveState += navigationHelper_SaveState; }
public TroublesPage() { this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += navigationHelper_LoadState; this.Loaded += TroublesPage_Loaded; watcher = new Geolocator(); watcher.MovementThreshold = 200; lstTroubles.SelectionChanged += lstTroubles_SelectionChanged; lstTroublesByFriends.SelectionChanged += lstTroublesByFriends_SelectionChanged; }
public CategoryPage() { this.InitializeComponent(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += navigationHelper_LoadState; this.navigationHelper.SaveState += navigationHelper_SaveState; this.Loaded += CategoriesPage_Loaded; comingBack = false; grvCategories.SelectionChanged += lstCategoryList_SelectionChanged; //lstSearchResults.SelectionChanged += lstSearchResults_SelectionChanged; //txtSearch.ActionIconTapped += txtSearch_ActionIconTapped; watcher = new Geolocator(); watcher.MovementThreshold = 200; }