internal void ClearContent()
 {
     if (_bitmapSource != null)
     {
         _bitmapSource.LiveStop();
         CloseBitmap();
     }
     ResetUserControl();
 }
Beispiel #2
0
 private void OnModeChange(object sender, EventArgs e)
 {
     if (radioLive.Checked)
     {
         _playbackController.PlaybackMode = PlaybackController.PlaybackModeType.Stop;
         _bitmapSource.LiveStart();
         panelPlayback.Visible = false;
         panelLoop.Visible     = false;
     }
     else
     {
         _bitmapSource.LiveStop();
         panelPlayback.Visible = true;
         panelLoop.Visible     = true;
     }
 }
 public void Close()
 {
     _bitmapSource.LiveStop();
 }