示例#1
0
            public CarSchedulingRow AddCarSchedulingRow(int Status, string Subject, System.DateTime StartTime, System.DateTime EndTime)
            {
                CarSchedulingRow rowCarSchedulingRow = ((CarSchedulingRow)(this.NewRow()));

                object[] columnValuesArray = new object[] {
                    Status,
                    Subject,
                    StartTime,
                    EndTime
                };
                rowCarSchedulingRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowCarSchedulingRow);
                return(rowCarSchedulingRow);
            }
            public CarSchedulingRow AddCarSchedulingRow(int Status, string Subject, string Description, int Label, System.DateTime StartTime, System.DateTime EndTime, string Location, bool AllDay)
            {
                CarSchedulingRow rowCarSchedulingRow = ((CarSchedulingRow)(this.NewRow()));

                object[] columnValuesArray = new object[] {
                    Status,
                    Subject,
                    Description,
                    Label,
                    StartTime,
                    EndTime,
                    Location,
                    AllDay
                };
                rowCarSchedulingRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowCarSchedulingRow);
                return(rowCarSchedulingRow);
            }
 public CarSchedulingRowChangeEvent(CarSchedulingRow row, global::System.Data.DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
 public void RemoveCarSchedulingRow(CarSchedulingRow row)
 {
     this.Rows.Remove(row);
 }
 public void AddCarSchedulingRow(CarSchedulingRow row)
 {
     this.Rows.Add(row);
 }