void ColumnReadOnlyCheckBox_CheckChanged (object sender, EventArgs e) { _dataGrid.Columns [1].ReadOnly = _columnReadOnlyCheckBox.Checked; }