private void RenderTiles(TileRenderContext ctx) { int i = FirstDisplayed; int i1 = LastDisplayed; while (i <= i1 && i < NumResults) { HitTilePair pair = (HitTilePair)hits [i]; ctx.Tile(pair.Tile); ++i; } }
override public void Render(TileRenderContext ctx) { if (errorString != null) { ctx.Write(errorString); if (offerDaemonRestart) { ctx.Write("<hr noshade>"); ctx.Link("Click to start the Beagle daemon...", new TileActionHandler(StartDaemon)); offerDaemonRestart = false; } errorString = null; return; } if (hit_collection != null) { ctx.Tile(hit_collection); } }
override public void Render (TileRenderContext ctx) { if (errorString != null) { ctx.Write (errorString); if (offerDaemonRestart) { ctx.Write ("<hr noshade>"); ctx.Link ("Click to start the Beagle daemon...", new TileActionHandler (StartDaemon)); offerDaemonRestart = false; } errorString = null; return; } if (hit_collection != null) ctx.Tile (hit_collection); }
private void RenderTiles (TileRenderContext ctx) { int i = FirstDisplayed; int i1 = LastDisplayed; while (i <= i1 && i < NumResults) { HitTilePair pair = (HitTilePair) hits [i]; ctx.Tile (pair.Tile); ++i; } }