Пример #1
0
 private void CellEditBeginOnProdRecipe(object sender, CellEditBeginEventArgs args)
 {
     args.Cancel = operation.DetailsProd [args.Cell.Row].SourceRecipe != null;
 }
Пример #2
0
 private void CellEditBeginOnEmptyLot(object sender, CellEditBeginEventArgs args)
 {
     args.Cancel = operation.Details [args.Cell.Row].LotId > 0 && operation.Details [args.Cell.Row].ExpectedQuantity > 0;
 }