public override void Dispose()
        {
            listItems.DisposeAndClear();

            btnClose.SafeDispose();
            listView.SafeDispose();
            lblHeading.SafeDispose();
            lblHeading2.SafeDispose();

            base.Dispose();
        }
Esempio n. 2
0
        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();
        }
Esempio n. 3
0
 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();
 }