Пример #1
0
 /// <summary>Renders the fractal with the specified bounds, optionally ignoring pushing the bounds on to the history stack.</summary>
 private void RenderNew(Bounds bounds, bool ignoreHistory)
 {
     AsyncLoader.OnFinished += fractal => {
         if (!ignoreHistory)
         {
             History.Push(fractal);
         }
         SetImageDispatch(fractal);
     };
     AsyncLoader.PostFinish += fractal => PostRender(fractal);
     AsyncLoader.LoadAsync(SelectedFractal, bounds);
 }