Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void Render()
- {
- for(int y = 0; y < data.Count; y++)
- {
- PutLine(data[y]);
- var d = source.Dispatcher.BeginInvoke(new Action(() => source.Source = BitmapToImageSource(bmp)));
- while (d.Status != System.Windows.Threading.DispatcherOperationStatus.Completed)
- {
- Thread.Sleep(1);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement