Retrieves the xml file data to grab the current image of the day
Пример #1
0
        private void btnSetImage_Click(object sender, EventArgs e)
        {
            var bgChanger = new BackgroundChanger();

            GlobalVariables.NasaImage = bgChanger.GetImage(_currentImageNumber, _currentPage);
            bgChanger.SetDesktopBackground(GlobalVariables.NasaImage.DownloadedPath);
            Close();
        }
Пример #2
0
        private void UpdateContent()
        {
            var changer = new BackgroundChanger();

            GlobalVariables.NasaImage = changer.GetImage();
            changer.SetDesktopBackground(GlobalVariables.NasaImage.DownloadedPath);
            UpdateControlContent();
        }
Пример #3
0
 private void UpdateContent()
 {
     var changer = new BackgroundChanger();
     GlobalVariables.NasaImage = changer.GetImage();
     changer.SetDesktopBackground(GlobalVariables.NasaImage.DownloadedPath);
     UpdateControlContent();
 }
Пример #4
0
 private void btnSetImage_Click(object sender, EventArgs e)
 {
     var bgChanger = new BackgroundChanger();
      GlobalVariables.NasaImage = bgChanger.GetImage(_currentImageNumber, _currentPage);
      bgChanger.SetDesktopBackground(GlobalVariables.NasaImage.DownloadedPath);
      Close();
 }