Ejemplo n.º 1
0
        /// <summary>
        /// Event handler for the downloaded event picture
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void DownloadPictureWC_OpenReadCompleted(object sender, OpenReadCompletedEventArgs e)
        {
            IsolatedStorageFileHandler isfh = new IsolatedStorageFileHandler();

            try
            {
                isfh.SaveImageFile("events", this.PictureName, e.Result);
            }
            catch (System.Net.WebException) { }
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Event handler for the downloaded event picture
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void DownloadPictureWC_OpenReadCompleted(object sender, OpenReadCompletedEventArgs e)
 {
     IsolatedStorageFileHandler isfh = new IsolatedStorageFileHandler();
     try
     {
         isfh.SaveImageFile("events", this.PictureName, e.Result);
     }
     catch (System.Net.WebException) { }
 }