コード例 #1
0
 private void fGrid_CellMouseDown(object sender, iGCellMouseDownEventArgs e)
 {
     if (fGrid.CurCell != fGrid.Cells[e.RowIndex, e.ColIndex])
     {
         fGrid.SetCurCell(e.RowIndex, e.ColIndex);
     }
 }
コード例 #2
0
 private void FGrid_CellMouseDown(object sender, iGCellMouseDownEventArgs e)
 {
     // Redraw the button cell in the pressed state.
     if (IsButtonColumn(e.ColIndex) && IsCellButtonVisible(e.RowIndex, e.ColIndex) && IsCellButtonEnabled(e.RowIndex, e.ColIndex))
     {
         fGrid.Invalidate(e.Bounds);
     }
 }