public void recordBookItem(SOMRecord rec, int counter, bool teamRecord)
 {
     lines.Add("<tr>");
     if (teamRecord)
     {
         addTableCell(rec.Label, "#000000", 200, "", false);
         addTableCell(rec.RecordValue, "#000000", 60, "", false);
         addTableCell(rec.Team, "#000000", 60);
         addTableCell(rec.Opponent, "#000000", 60);
     }
     else
     {
         addTableCell(rec.Label, "#000000", 200, "", false);
         addTableCell(rec.RecordValue, "#000000", 60);
         addTableCell(rec.Description, "#000000", 300, "", false);
     }
     lines.Add("</tr>");
 }
示例#2
0
        public void recordBookItem(SOMRecord rec, int counter, bool teamRecord)
        {
            string bgColor = getBackgroundColor(counter, false);

            lines.Add("<table style='margin-left:50px;' border=0 cellspacing=0 cellpadding=0 style='border-collapse:collapse;border:none'><tr>");

            if (teamRecord)
            {
                addTableCell(rec.Label, bgColor, "#000000", 200, false);
                addTableCell(rec.RecordValue, bgColor, "#000000", 60, false);
                addTableCell(rec.Team, bgColor, "#000000", 60);
                addTableCell(rec.Opponent, bgColor, "#000000", 60);
            }
            else
            {
                addTableCell(rec.Label, bgColor, "#000000", 200, false);
                addTableCell(rec.RecordValue, bgColor, "#000000", 60);
                addTableCell(rec.Description, bgColor, "#000000", 300, false);
            }

            lines.Add("</tr></table>");
        }
示例#3
0
 public void recordBookItem(SOMRecord rec, int counter, bool teamRecord)
 {
 }