private void OnImageFailed(object sender, ExceptionRoutedEventArgs exceptionRoutedEventArgs) { var copy = ImageFailed; if (copy != null) copy(this, null); UpdateMaxZoomFactor(); }
void imageElement_ImageFailed(object sender, ExceptionRoutedEventArgs e) { #if SILVERLIGHT if (ThumbnailLoadFailed != null) ThumbnailLoadFailed(this, new ThumbnailLoadFailedEventArgs(e.ErrorException.Message)); #else if (ThumbnailLoadFailed != null) ThumbnailLoadFailed(this, new ThumbnailLoadFailedEventArgs(e.ErrorMessage)); #endif }
private void BitmapImageFailed(object sender, ExceptionRoutedEventArgs e) { var bitmap = (BitmapImage)sender; bitmap.ImageOpened -= BitmapImageOpened; bitmap.ImageFailed -= BitmapImageFailed; Image.Source = null; }
private void BitmapImageFailed(object sender, ExceptionRoutedEventArgs e) { var bitmap = (BitmapImage)sender; bitmap.ImageOpened -= BitmapImageOpened; bitmap.ImageFailed -= BitmapImageFailed; ((MapImage)Children[currentImageIndex]).Source = null; BlendImages(); }
private void MediaEle_MediaFailed(object sender, ExceptionRoutedEventArgs e) { System.Windows.MessageBox.Show("Unable to play " + trackPath + " [" + e.ErrorException.Message + "]"); }
private void MainMedia_MediaFailed(object sender, ExceptionRoutedEventArgs e) { PauseAll(); }
void image_ImageFailed(object sender, ExceptionRoutedEventArgs e) { RaiseImageFailedEvent(e.ErrorException); }
void OnImageFailed(object sender, ExceptionRoutedEventArgs e) { VisualStateManager.GoToState(this, "Failed", true); }
private void Image_ImageFailed(object sender, ExceptionRoutedEventArgs e) { int a = 0; }
private void ImageLoadFail(object sender, ExceptionRoutedEventArgs e) { CleanupImageEvents(sender); if (ImageFailed != null) ImageFailed.Invoke(sender, e); }
private void MediaElement_MediaFailed(object sender, ExceptionRoutedEventArgs e) { }
void ControlMediaFailed(object sender, ExceptionRoutedEventArgs e) { Controller?.OnMediaFailed(); }
void OnAdPlayerMediaFailed(object sender, ExceptionRoutedEventArgs e) { Shutdown(); OnAdError(new AdMessageEventArgs(e.ErrorException.Message)); }
static void img_ImageFailed(object sender, ExceptionRoutedEventArgs e) { Image img = sender as Image; img.Visibility = Visibility.Collapsed; }
private void ThumbnailFailed(object sender, ExceptionRoutedEventArgs e) { imageProgress.IsActive = false; imageProgress.Visibility = Visibility.Collapsed; imageFailedMessagePanel.Visibility = Visibility.Visible; }
void MediaPlayer_MediaFailed(object sender, ExceptionRoutedEventArgs e) { Log("Media failed" + e.ErrorException); StatusBar.Text = "Media playback failed : " + e.ErrorException; }
private void remoteVideo_MediaFailed_1(object sender, ExceptionRoutedEventArgs e) { Debug.WriteLine("[InCall] RemoteVideo Failed: " + e.ErrorMessage); }
private void Image_ImageFailed_Foreman(object sender, ExceptionRoutedEventArgs e) { var source = (sender as Image).Source as Windows.UI.Xaml.Media.Imaging.BitmapImage; source.UriSource = new Uri(WinAppLibrary.Utilities.Helper.BaseUri + "Assets/Foreman/default_foreman.png"); }
private void MenuItem_ImageFailed(object sender, ExceptionRoutedEventArgs e) { }
private void PreviewImage_ImageFailed(object sender, ExceptionRoutedEventArgs e) { }
void Image_ImageFailed(object sender, ExceptionRoutedEventArgs e) { if (State != AdState.Complete && State != AdState.Failed) { State = AdState.Failed; Teardown(); #if SILVERLIGHT if (AdError != null) AdError(this, new VpaidMessageEventArgs() { Message = e.ErrorException.Message }); #else if (AdError != null) AdError(this, new VpaidMessageEventArgs() { Message = e.ErrorMessage }); #endif } }
private void MediaElement_MediaFailed(object sender, ExceptionRoutedEventArgs e) { Element.OnPlayError(sender, new VideoPlayer.PlayErrorEventArgs(e.ErrorMessage)); }
private void OnImageFailed(object sender, ExceptionRoutedEventArgs e) { ImageExFailed?.Invoke(this, new ImageExFailedEventArgs(new Exception(e.ErrorMessage))); VisualStateManager.GoToState(this, FailedState, true); }
public void SongFailed(ExceptionRoutedEventArgs eventArgs) { _eventAggregator.Publish(new PlayFailedMessage(eventArgs.ErrorMessage, eventArgs.OriginalSource)); }
private void TubePlayerOnMediaFailed(object sender, ExceptionRoutedEventArgs exceptionRoutedEventArgs) { }
protected virtual void OnImageFailed(object sender, ExceptionRoutedEventArgs exceptionRoutedEventArgs) { Log.Warning("Image Loading", $"Image failed to load: {exceptionRoutedEventArgs.ErrorMessage}"); Element?.SetIsLoading(false); }
private void MediaFailed(object sender, ExceptionRoutedEventArgs e) { DisplayErrorMessage(e.ErrorMessage); }
private void MediaElement_MediaFailed(object sender, ExceptionRoutedEventArgs e) { timerMoveSlider.Stop(); MoveNext(); }
void bmpImage_ImageFailed(object sender, ExceptionRoutedEventArgs e) { OnImageFailed(e); }
private void ColorImageElement_ImageFailed(object sender, ExceptionRoutedEventArgs e) { }
void media_MediaFailed(object sender, ExceptionRoutedEventArgs e) { SendEvent(e.ToString()); }
/// <summary> /// Handles an image open failure. /// </summary> /// <param name="sender">The multi scale image.</param> /// <param name="e">Exception Routed Event Args.</param> private void MultiScaleImage_ImageOpenFailed(object sender, ExceptionRoutedEventArgs e) { }
/// <summary> /// Common video failed error handler. /// </summary> /// <param name="obj"></param> /// <param name="args"></param> public void VideoOnError(Object obj, ExceptionRoutedEventArgs args) { NotifyUser("Cannot open video file - error: " + args.ErrorMessage, NotifyType.ErrorMessage); }
private void _image_ImageFailed(object sender, ExceptionRoutedEventArgs e) { #if WINDOWS_APP UpdateStatus(StaticMapStatus.Failed, new Exception(e.ErrorMessage)); #else UpdateStatus(StaticMapStatus.Failed, e.ErrorException); #endif }
private void Player1_MediaFailed(object sender, ExceptionRoutedEventArgs e) { Debug.WriteLine(e.ErrorMessage); }
private void Holder_ImageFailed(object sender, ExceptionRoutedEventArgs e) { ImageFailed?.Invoke(this, e); }
private void image2_ImageFailed(object sender, ExceptionRoutedEventArgs e) { }
private void Player_MediaFailed(object sender, ExceptionRoutedEventArgs e) { rootPage.NotifyUser(string.Format("Failed to load '{0}'", video.Title), NotifyType.ErrorMessage); }
private void media_MediaFailed(object sender, ExceptionRoutedEventArgs e) { // An empty media fails ie no patrick found causes empty media. MuteMicrophone(false); }
void mediaPlayer_MediaFailed(object sender, ExceptionRoutedEventArgs e) { #if SILVERLIGHT if (StreamFailed != null) StreamFailed(this, new StreamFailedEventArgs(e.ErrorException.Message)); #else if (StreamFailed != null) StreamFailed(this, new StreamFailedEventArgs(e.ErrorMessage)); #endif }