private void OpenVideoSource(IVideoSource source) { Cursor = Cursors.WaitCursor; CloseVideoSource(); FPSTimer.Start(); VideoPlayer.VideoSource = new AsyncVideoSource(source); VideoPlayer.Start(); Cursor = Cursors.Default; }
public VisualizationBase() { _timer = new FPSTimer(60); _timer.Start(); EnableRendering = true; }