Beispiel #1
0
 private void HLine(TopMidBot v)
 {
     sb.Append(GetCorner(v, LeftCentreRight.Left));
     for (int i = 0; i < table._colsShown.Count; i++)
     {
         sb.Append(new string(style.Floor, table._colsShown[i].MaxWidth + 2));
         if (i < table._colsShown.Count - 1)
         {
             sb.Append(GetCorner(v, LeftCentreRight.Centre));
         }
     }
     sb.Append(GetCorner(v, LeftCentreRight.Right));
 }
Beispiel #2
0
 private char GetCorner(TopMidBot v, LeftCentreRight h)
 {
     return(style.Corners[(int)h, (int)v]);
 }