AnyPlace.MainPage.OnNavigatedTo C# (CSharp) Method

OnNavigatedTo() protected method

protected OnNavigatedTo ( System e ) : void
e System
return void
        protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
        {
            // Get a dictionary of query string keys and values. 
            IDictionary<string, string> queryStrings = this.NavigationContext.QueryString;

            // Ensure that the "CategoryID" key is present. 
            if (queryStrings.ContainsKey("BuildId"))
            {
                //Display Category ID 
                bid = queryStrings["BuildId"];

                if (!bid.Equals("none"))
                {
                    pid = queryStrings["PoiId"];

                    start_nav = true;
                }

            }

            if (PhoneApplicationService.Current.State.Count > 0)
            {
                var download = PhoneApplicationService.Current.State["downloaded"].ToString();

                GetSettings();
                _downloadCkeck = bool.Parse(download);

                if (_downloadCkeck)
                    IsolatedStorageDataRead();

                PhoneApplicationService.Current.State.Clear();

            }

            MoveViewWindow(30);
        }
MainPage