Пример #1
0
 public 產線RowChangeEvent(產線Row row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
Пример #2
0
 public 產品品號ViewRow Add產品品號ViewRow(string 系列代號, string 品號, string 系列名稱, string 品名, 產線Row parent產線RowBy產線產品品號, decimal 工時, 產品系列Row parent產品系列RowBy產品系列產品品號1, decimal 標準工資, decimal 單位標準工資) {
     產品品號ViewRow row產品品號ViewRow = ((產品品號ViewRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             系列代號,
             品號,
             系列名稱,
             品名,
             null,
             工時,
             null,
             標準工資,
             單位標準工資};
     if ((parent產線RowBy產線產品品號 != null)) {
         columnValuesArray[4] = parent產線RowBy產線產品品號[0];
     }
     if ((parent產品系列RowBy產品系列產品品號1 != null)) {
         columnValuesArray[6] = parent產品系列RowBy產品系列產品品號1[0];
     }
     row產品品號ViewRow.ItemArray = columnValuesArray;
     this.Rows.Add(row產品品號ViewRow);
     return row產品品號ViewRow;
 }
Пример #3
0
 public void Add產線Row(產線Row row) {
     this.Rows.Add(row);
 }
Пример #4
0
 public void Remove產線Row(產線Row row) {
     this.Rows.Remove(row);
 }
Пример #5
0
 public 員工Row Add員工Row(string 編號, string 姓名, decimal 薪水, 產線Row parent產線RowBy產線員工) {
     員工Row row員工Row = ((員工Row)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             編號,
             姓名,
             薪水,
             null};
     if ((parent產線RowBy產線員工 != null)) {
         columnValuesArray[3] = parent產線RowBy產線員工[0];
     }
     row員工Row.ItemArray = columnValuesArray;
     this.Rows.Add(row員工Row);
     return row員工Row;
 }