示例#1
0
 public 非生產RowChangeEvent(非生產Row row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
示例#2
0
 public void Add非生產Row(非生產Row row) {
     this.Rows.Add(row);
 }
示例#3
0
 public void Remove非生產Row(非生產Row row) {
     this.Rows.Remove(row);
 }
示例#4
0
 public 工時Row Add工時Row(string 編號, 員工Row parent員工RowBy員工工時, System.DateTime 日期, 工作單Row parent工作單RowBy工作單工時, decimal 工時, 非生產Row parent非生產RowBy非生產工時, string 備註, string 非生產名稱, string 員工姓名, string 新舊, int 數量, string 借入產線, string QCN, int 工品編號, int 工時類型) {
     工時Row row工時Row = ((工時Row)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             編號,
             null,
             日期,
             null,
             工時,
             null,
             備註,
             非生產名稱,
             員工姓名,
             新舊,
             數量,
             借入產線,
             QCN,
             工品編號,
             工時類型};
     if ((parent員工RowBy員工工時 != null)) {
         columnValuesArray[1] = parent員工RowBy員工工時[0];
     }
     if ((parent工作單RowBy工作單工時 != null)) {
         columnValuesArray[3] = parent工作單RowBy工作單工時[0];
     }
     if ((parent非生產RowBy非生產工時 != null)) {
         columnValuesArray[5] = parent非生產RowBy非生產工時[0];
     }
     row工時Row.ItemArray = columnValuesArray;
     this.Rows.Add(row工時Row);
     return row工時Row;
 }