Ejemplo n.º 1
0
 public static void RemoveColumn(
     WidgetList widgets,
     int width,
     int height,
     int column
     )
 {
     for (var i = height - 1; i >= 0; i--)
     {
         widgets.RemoveAt(column + i * width);
     }
 }
Ejemplo n.º 2
0
 public static void RemoveRow(
     WidgetList widgets,
     int width,
     int height,
     int row
     )
 {
     for (var i = 0; i < width; i++)
     {
         widgets.RemoveAt(row * width);
     }
 }