public DutyDetailRow AddDutyDetailRow(System.DateTime Date, System.DateTime OnDutyTime, System.DateTime OffDutyTime, string OffDutyMemo, string OnDutyMemo) { DutyDetailRow rowDutyDetailRow = ((DutyDetailRow)(this.NewRow())); rowDutyDetailRow.ItemArray = new object[] { Date, OnDutyTime, OffDutyTime, OffDutyMemo, OnDutyMemo }; this.Rows.Add(rowDutyDetailRow); return(rowDutyDetailRow); }
public DutyDetailRowChangeEvent(DutyDetailRow row, DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemoveDutyDetailRow(DutyDetailRow row) { this.Rows.Remove(row); }
public void AddDutyDetailRow(DutyDetailRow row) { this.Rows.Add(row); }