private void fGrid_CellMouseDown(object sender, iGCellMouseDownEventArgs e) { if (fGrid.CurCell != fGrid.Cells[e.RowIndex, e.ColIndex]) { fGrid.SetCurCell(e.RowIndex, e.ColIndex); } }
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); } }