Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 private void grid_MasterGridCellActivated(object sender, DevComponents.DotNetBar.SuperGrid.GridCellActivatedEventArgs e)
 {
     prop.SelectedObject = e.NewActiveCell.GridRow.DataItem;
 }
Esempio n. 3
0
        /// <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);
            }
        }
Esempio n. 4
0
 private void gItems_CellActivated(object sender, GridCellActivatedEventArgs e)
 {
     gcItem = e.NewActiveCell;
 }
Esempio n. 5
0
 private void gInspections_CellActivated(object sender, GridCellActivatedEventArgs e)
 {
     gcInspection = e.NewActiveCell;
 }
Esempio n. 6
0
 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;
 }