Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 public virtual void GeneratePlaneCaption(ClientPlane plane)
 {
 }