private void DgBuildListOnCellValueChanged( object sender, DataGridViewCellEventArgs dataGridViewCellEventArgs ) { if (dataGridViewCellEventArgs.ColumnIndex == 0) dgBuildList.CancelEdit(); }