public override void Dispose() { // this is causing Mantis 3128: No video preview in MyVideos in some situations. //GUIGraphicsContext.OnVideoWindowChanged -= new VideoWindowChangedHandler(OnVideoChanged); _videoRectangle.SafeDispose(); _videoWindow.SafeDispose(); _labelPlayTime.SafeDispose(); _imagePlayLogo.SafeDispose(); _imagePauseLogo.SafeDispose(); _labelInfo.SafeDispose(); _labelBigPlayTime.SafeDispose(); _imageFastForward.SafeDispose(); _imageRewind.SafeDispose(); base.Dispose(); }
public override void Dispose() { _videoRectangle.SafeDispose(); _thumbImage.SafeDispose(); _labelPlayTime.SafeDispose(); _imagePlayLogo.SafeDispose(); _imagePauseLogo.SafeDispose(); _labelInfo.SafeDispose(); _labelBigPlayTime.SafeDispose(); _imageFastForward.SafeDispose(); _imageRewind.SafeDispose(); _videoWindow.SafeDispose(); _imageNormal.SafeDispose(); _imageGapless.SafeDispose(); _imageCrossfade.SafeDispose(); base.Dispose(); }