Exemplo n.º 1
0
        private static void SmoothHorizontally(DataGridViewSelectedCellCollection selectedCells)
        {
            var rowsGroup = selectedCells.ToList().GroupBy(p => p.RowIndex);

            SmoothCells(rowsGroup);
        }
Exemplo n.º 2
0
        private static void SmoothVertically(DataGridViewSelectedCellCollection selectedCells)
        {
            var columnsGroup = selectedCells.ToList().GroupBy(p => p.ColumnIndex);

            SmoothCells(columnsGroup);
        }