private void grid_MasterGridCellActivated(object sender, DevComponents.DotNetBar.SuperGrid.GridCellActivatedEventArgs e) { if (e.NewActiveCell.ColumnIndex < 0 || e.NewActiveCell.RowIndex < 0) { return; } _selectedData = (TL_NOTIFY)e.NewActiveCell.GridRow.DataItem; prop.SelectedObject = _selectedData; }
private void grid_MasterGridCellActivated(object sender, DevComponents.DotNetBar.SuperGrid.GridCellActivatedEventArgs e) { prop.SelectedObject = e.NewActiveCell.GridRow.DataItem; }
/// <summary> /// Handles invocation of CellActivated events /// </summary> internal void DoCellActivatedEvent( GridPanel gridPanel, GridCell oldCell, GridCell newCell) { if (CellActivated != null) { GridCellActivatedEventArgs ev = new GridCellActivatedEventArgs(gridPanel, oldCell, newCell); CellActivated(this, ev); } }
private void gItems_CellActivated(object sender, GridCellActivatedEventArgs e) { gcItem = e.NewActiveCell; }
private void gInspections_CellActivated(object sender, GridCellActivatedEventArgs e) { gcInspection = e.NewActiveCell; }
private void gridStockDetail_MasterGridCellActivated(object sender, DevComponents.DotNetBar.SuperGrid.GridCellActivatedEventArgs e) { SpareEntities db = EntitiesFactory.CreateSpareInstance(); var vinCode = db.TS_STOCK_DETAIL.Single(p => p.UID == gridStockDetail.MasterUid).Batch; }