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)); }
private char GetCorner(TopMidBot v, LeftCentreRight h) { return(style.Corners[(int)h, (int)v]); }