if (grid.Rows.Count == 0) return; if (grid.CurrentCell != null) grid.CurrentCell = grid.Rows[grid.Rows.Count - 1].Cells[grid.CurrentCell.ColumnIndex]; else grid.CurrentCell = grid.Rows[grid.Rows.Count - 1].Cells[0];
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)