internal void Setup(RenderOptions renderOptions, Mashup currentMashup, MapTileSourceFactory mapTileSourceFactory, RenderProgressPanel2.LaunchRenderedBrowserDelegate LaunchRenderedBrowser, RenderState.FlushRenderedTileCachePackageDelegate flushRenderedTileCachePackage) { renderOptionsPanel.SetRenderOptions(renderOptions); renderProgressPanel.Setup(currentMashup, mapTileSourceFactory, LaunchRenderedBrowser, flushRenderedTileCachePackage); }
public void Setup(Mashup mashup, MapTileSourceFactory mapTileSourceFactory, RenderProgressPanel2.LaunchRenderedBrowserDelegate launchRenderedBrowser, RenderState.FlushRenderedTileCachePackageDelegate flushRenderedTileCachePackage) { this.flushRenderedTileCachePackage = flushRenderedTileCachePackage; this.ReplacePreviewImage(null); if (this.mashup != null) { this.mashup.dirtyEvent.Remove(new DirtyListener(this.MashupChangedHandler)); } this.mashup = mashup; this.mapTileSourceFactory = mapTileSourceFactory; this.launchRenderedBrowser = launchRenderedBrowser; if (this.mashup != null) { this.mashup.dirtyEvent.Add(new DirtyListener(this.MashupChangedHandler)); } this.MashupChangedHandler(); }