public MyDateRowChangeEvent(MyDateRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void AddMyDateRow(MyDateRow row) { this.Rows.Add(row); }
public void RemoveMyDateRow(MyDateRow row) { this.Rows.Remove(row); }
public ResultRow AddResultRow( string StaName, int SumBox, double Weight_2, double Weight_3, double Weight_4, double Weight_5, double Weight_6, double Weight_7, decimal Weight_8, double Weight_9, double Weight_10, double Weight_11, double Weight_12, double Weight_13, double Weight_14, double Weight_15, double SumWeight, int SumBoxTail, MyDateRow parentMyDateRowByMyDate_Result) { ResultRow rowResultRow = ((ResultRow)(this.NewRow())); object[] columnValuesArray = new object[] { StaName, SumBox, Weight_2, Weight_3, Weight_4, Weight_5, Weight_6, Weight_7, Weight_8, Weight_9, Weight_10, Weight_11, Weight_12, Weight_13, Weight_14, Weight_15, SumWeight, SumBoxTail, null}; if ((parentMyDateRowByMyDate_Result != null)) { columnValuesArray[18] = parentMyDateRowByMyDate_Result[3]; } rowResultRow.ItemArray = columnValuesArray; this.Rows.Add(rowResultRow); return rowResultRow; }