<pre><pre> private void LoadImages() { LoadingScreenImages = new List<BitmapImage>(); for (int i = 0; i < 40; i++) { LoadingScreenImages.Add(new BitmapImage(new Uri(@"C:\Users\TestAppForLoadingVideo\PNG_sequences\Image_" + i + ".png"))); } } private void TimerTick(object sender, object e) { if (i < 80) { // ImageFile.Source = LoadingScreenImages[i]; // ImageFile.Source = new BitmapImage(new Uri(@"C:\Users\TestAppForLoadingVideo\PNG\" + i + ".png")); i++; } else { timer.Stop(); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)