public void DeleteColumn(int column) {
float[] newWidths = new float[--columns];
System.Array.Copy(widths, 0, newWidths, 0, column);
System.Array.Copy(widths, column + 1, newWidths, column, columns - column);
Widths = newWidths;
System.Array.Copy(widths, 0, newWidths, 0, columns);
widths = newWidths;
Row row;
int size = rows.Count;
for (int i = 0; i < size; i++) {
row = (Row) rows[i];
row.DeleteColumn(column);
rows[i] = row;
}
if (column == columns) {
curPosition.X++;
curPosition.Y = 0;
}
}