public void DrawItems(IDrawer drawer)
 {
     Iterate((value, row, col) =>
     {
         drawer.DrawCell(value, row, col);
     });
 }
示例#2
0
 protected void DrawCells(IDrawer drawer)
 {
     for (int i = 0; i < this.Row_count; i++)
     {
         for (int j = 0; j < this.Column_count; j++)
         {
             drawer.DrawCell(this, i, j);
         }
     }
 }