public GoodsRow AddGoodsRow() { GoodsRow rowGoodsRow = ((GoodsRow)(this.NewRow())); rowGoodsRow.ItemArray = new object[] { null }; this.Rows.Add(rowGoodsRow); return(rowGoodsRow); }
private static List <GoodsRow> AddTenRows() { List <GoodsRow> goodsRowCollection = new List <GoodsRow>(); for (int i = 0; i < 9; i++) { GoodsRow row = new GoodsRow(); row.Count = i; row.Goods = goodsCollection[i]; row.Operator = userCollection[i]; row.Price = i * 1.1; } return(goodsRowCollection); }
public void AddGoodsRow(GoodsRow row) { this.Rows.Add(row); }
public GoodsRowChangeEvent(GoodsRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemoveGoodsRow(GoodsRow row) { this.Rows.Remove(row); }
public GoodsRowChangeEvent(GoodsRow row, System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }