示例#1
0
        private void OpenVideoSource(IVideoSource source)
        {
            Cursor = Cursors.WaitCursor;

            CloseVideoSource();

            FPSTimer.Start();

            VideoPlayer.VideoSource = new AsyncVideoSource(source);
            VideoPlayer.Start();

            Cursor = Cursors.Default;
        }
示例#2
0
 public VisualizationBase()
 {
     _timer = new FPSTimer(60);
     _timer.Start();
     EnableRendering = true;
 }
示例#3
0
 public VisualizationBase()
 {
     _timer = new FPSTimer(60);
     _timer.Start();
     EnableRendering = true;
 }