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