/// <summary> /// Raises the CellCheckChanged event /// </summary> /// <param name="e">A CellCheckChanged that contains the event data</param> protected internal virtual void OnCellCheckChanged(CellCheckBoxEventArgs e) { if (this.CanRaiseEvents) { if (CellCheckChanged != null) { CellCheckChanged(this, e); } } }
/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void columnTable_CellCheckChanged(object sender, CellCheckBoxEventArgs e) { this.showButton.Enabled = !e.Cell.Checked; this.hideButton.Enabled = e.Cell.Checked; }