Exemple #1
0
 public MyDateRowChangeEvent(MyDateRow row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
Exemple #2
0
 public void AddMyDateRow(MyDateRow row) {
     this.Rows.Add(row);
 }
Exemple #3
0
 public void RemoveMyDateRow(MyDateRow row) {
     this.Rows.Remove(row);
 }
Exemple #4
0
 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;
 }