Esempio n. 1
0
 private void UpdateImage()
 {
     if (_iconImage == String.Empty)
     {
         ClearImage();
     }
     else
     {
         _imageRequest = new AsyncImageRequest(this, _iconImage, new EventHandler(ImageLoaded));
     }
 }
Esempio n. 2
0
 private void UpdateBackgroundImage()
 {
     if (BackgroundImage == String.Empty)
     {
         ClearBackgroundImage();
     }
     else
     {
         _backgroundImageRequest = new AsyncImageRequest(this, _backgroundImage, new EventHandler(BackgroundLoaded));
     }
 }