Beispiel #1
0
 private void FGrid_CellMouseUp(object sender, iGCellMouseUpEventArgs e)
 {
     // Redraw the button cell in the non-pressed (normal) state.
     if (IsButtonColumn(e.ColIndex) && IsCellButtonVisible(e.RowIndex, e.ColIndex) && IsCellButtonEnabled(e.RowIndex, e.ColIndex))
     {
         fGrid.Invalidate(e.Bounds);
     }
 }
Beispiel #2
0
 private void fGrid_CellMouseUp(object sender, iGCellMouseUpEventArgs e)
 {
     if (fGrid.Rows.Count > 0)
     {
         if (fGrid.CurCell == null || fGrid.CurCell.Row.Index != e.RowIndex)
         {
             fGrid.SetCurCell(e.RowIndex, e.ColIndex);
         }
     }
 }
 private void iGrid1_CellMouseUp(object sender, iGCellMouseUpEventArgs e)
 {
     iGrid1.SetCurCell(e.RowIndex, e.ColIndex);
 }