public void LoadOrig() { vidProvider = new VideoProvider("orig"); slidera.Maximum = sliderb.Maximum = vidProvider.Total; vidProviderNewVid = new VideoProvider("newvid"); sliderb.Maximum = vidProviderNewVid.Total; realTimeTrack.EndPos = vidProvider.Total; }
BitmapImage GetImageAt(VideoProvider provider, int i) { return(new BitmapImage(new Uri("file://" + provider.GetPath(i)))); }
private void chkTrackSimulation_Click(object sender, RoutedEventArgs e) { vidProviderNewVid = new VideoProvider(txtSimulationDir.Text); }