Exemplo n.º 1
0
        private void StudentsDG_SelectedCellsChanged_1(object sender, SelectedCellsChangedEventArgs e)
        {
            if (e.AddedCells.Count == 0)
            {
                return;
            }
            var currentCell = e.AddedCells[0];

            if (currentCell.Column ==
                StudentsDG.Columns[1])
            {
                StudentsDG.BeginEdit();
            }
        }