示例#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;
 }
示例#2
0
 private void grid_MasterGridCellActivated(object sender, DevComponents.DotNetBar.SuperGrid.GridCellActivatedEventArgs e)
 {
     prop.SelectedObject = e.NewActiveCell.GridRow.DataItem;
 }
示例#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);
            }
        }
示例#4
0
文件: frmMain.cs 项目: etechuk/fexipc
 private void gItems_CellActivated(object sender, GridCellActivatedEventArgs e)
 {
     gcItem = e.NewActiveCell;
 }
示例#5
0
文件: frmMain.cs 项目: etechuk/fexipc
 private void gInspections_CellActivated(object sender, GridCellActivatedEventArgs e)
 {
     gcInspection = e.NewActiveCell;
 }
示例#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;
 }