Provides data for the CellCheckChanged event of a Table
상속: CellEventArgsBase
예제 #1
0
파일: Table.cs 프로젝트: zhuangyy/Motion
 /// <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);
         }
     }
 }
예제 #2
0
 /// <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;
 }