Пример #1
0
 public virtual void Render(IHtmlStream inStream)
 {
     inStream.Write("<b>");
     inStream.Write(Name);
     inStream.Write("</b> ");
     inStream.Write(Price.ToString("c"));
     inStream.Write("<br /> ");
 }
Пример #2
0
 public override void Render(IHtmlStream inStream)
 {
     base.Render(inStream);
     inStream.Write("- " + Code + "<br />");
 }