private void WebClient3_DownloadDataCompleted(object sender, DownloadDataCompletedEventArgs e) { BitmapSource image = Handlers.ByteToBitmapSource(e.Result); MainWindow.image3.Source = image; MainWindow.progressBar.Value = 0; MainWindow.progressBar.Visibility = Visibility.Hidden; }
private void WebClient_DownloadDataCompleted(object sender, DownloadDataCompletedEventArgs e) { BitmapSource image = Handlers.ByteToBitmapSource(e.Result); MainWindow.image1.Source = image; }