void LoadOneCity()
        {
            if (loaded)
            {
                return;
            }
            if (!NetworkInterface.GetIsNetworkAvailable())
            {
                MessageBox.Show("Отсутствует соединение с сетью интернет.");
                return;
            }

            ApplicationBarIconButton btn = (ApplicationBarIconButton)ApplicationBar.Buttons[0];

            btn.IsEnabled = false;

            if (progressOn == null)
            {
                progressOn = new progessOnFront();
            }

            NewsNamesIndex = 0;
            progressOn.Show(this);

            OneCity.Items.Clear();
            // Основные новости
            string RSS = RSSs[curCity] + RSSadd;

            OneCity.Title = "Портал kraj.by. Новости в городах края. " + CityNames[curCity] + ".";
            WebClient client = new WebClient();

            client.DownloadStringCompleted += new DownloadStringCompletedEventHandler(MainDownload);
            client.DownloadStringAsync(new Uri(RSS));
            loaded = true;
        }
        private void LoadOnePage()
        {
            if (progressOn == null)
            {
                progressOn = new progessOnFront();
            }

            progressOn.Show(this);

            WebClient client = new WebClient();

            client.DownloadStringCompleted += new DownloadStringCompletedEventHandler(DownloadPage);
            client.DownloadStringAsync(new Uri(curURL));
        }
        private void LoadRSS()
        {
            //if (loaded) return;
            if (!NetworkInterface.GetIsNetworkAvailable())
            {
                MessageBox.Show("Отсутствует соединение с сетью интернет.");
                return;
            }

            btn0.IsEnabled = false;
            btn1.IsEnabled = false;

            if (progressOn == null)
            {
                progressOn = new progessOnFront();
            }

            progressOn.Show(this);

            RequestRSS();
            //loaded = true;
        }