public override void GeneratePlaneCaption(ClientPlane plane) { System.Drawing.Bitmap img; if (!planeCaptions.TryGetValue(plane.Type, out img)) { string template = "<p class=\"helpTitle\">Did you know?</p><p>@@MSG@@</p>"; string message = template.Replace("@@MSG@@", plane.Message); img = HtmlRenderer.RenderCaption(message); planeCaptions[plane.Type] = img; } plane.Caption = img; }
public virtual void GeneratePlaneCaption(ClientPlane plane) { }