コード例 #1
0
 internal void Setup(RenderOptions renderOptions, Mashup currentMashup,
                     MapTileSourceFactory mapTileSourceFactory,
                     RenderProgressPanel2.LaunchRenderedBrowserDelegate LaunchRenderedBrowser,
                     RenderState.FlushRenderedTileCachePackageDelegate flushRenderedTileCachePackage)
 {
     renderOptionsPanel.SetRenderOptions(renderOptions);
     renderProgressPanel.Setup(currentMashup,
                               mapTileSourceFactory,
                               LaunchRenderedBrowser,
                               flushRenderedTileCachePackage);
 }
コード例 #2
0
		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();
		}
コード例 #3
0
ファイル: RenderProgressPanel2.cs プロジェクト: gabilic/Oplan
 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();
 }