Exemple #1
0
            public PatrolsRow AddPatrolsRow(int Id, System.DateTime Starttime, string Class, int NumberOfCompetitors, string DisplayName)
            {
                PatrolsRow rowPatrolsRow = ((PatrolsRow)(this.NewRow()));

                rowPatrolsRow.ItemArray = new object[] {
                    Id,
                    Starttime,
                    Class,
                    NumberOfCompetitors,
                    DisplayName
                };
                this.Rows.Add(rowPatrolsRow);
                return(rowPatrolsRow);
            }
Exemple #2
0
            public PatrolsRow AddPatrolsRow(int Id, System.DateTime Starttime, string Class, int NumberOfCompetitors, string DisplayName, int NumberOfCompetitorsWithResult, System.DateTime StartTimeDisplay, int NrOfArrived)
            {
                PatrolsRow rowPatrolsRow = ((PatrolsRow)(this.NewRow()));

                object[] columnValuesArray = new object[] {
                    Id,
                    Starttime,
                    Class,
                    NumberOfCompetitors,
                    DisplayName,
                    NumberOfCompetitorsWithResult,
                    StartTimeDisplay,
                    NrOfArrived
                };
                rowPatrolsRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowPatrolsRow);
                return(rowPatrolsRow);
            }
 public PatrolsRowChangeEvent(PatrolsRow row, DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
 public void RemovePatrolsRow(PatrolsRow row) {
     this.Rows.Remove(row);
 }
 public void AddPatrolsRow(PatrolsRow row) {
     this.Rows.Add(row);
 }
Exemple #6
0
 public PatrolsRowChangeEvent(PatrolsRow row, DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
Exemple #7
0
 public void RemovePatrolsRow(PatrolsRow row)
 {
     this.Rows.Remove(row);
 }
Exemple #8
0
 public void AddPatrolsRow(PatrolsRow row)
 {
     this.Rows.Add(row);
 }
 public PatrolsRowChangeEvent(PatrolsRow row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
 public CompetitorsRow AddCompetitorsRow(int CompetitorId, ShootersRow parentShootersRowByShootersCompetitors, int ShooterClass, WeaponsRow parentWeaponsRowByWeaponsCompetitors, CompetitionRow parentCompetitionRowByCompetitionCompetitors, PatrolsRow parentPatrolsRowByPatrolsCompetitors, int Lane, int FinalShootingPlace) {
     CompetitorsRow rowCompetitorsRow = ((CompetitorsRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             CompetitorId,
             null,
             ShooterClass,
             null,
             null,
             null,
             Lane,
             FinalShootingPlace};
     if ((parentShootersRowByShootersCompetitors != null)) {
         columnValuesArray[1] = parentShootersRowByShootersCompetitors[0];
     }
     if ((parentWeaponsRowByWeaponsCompetitors != null)) {
         columnValuesArray[3] = parentWeaponsRowByWeaponsCompetitors[0];
     }
     if ((parentCompetitionRowByCompetitionCompetitors != null)) {
         columnValuesArray[4] = parentCompetitionRowByCompetitionCompetitors[0];
     }
     if ((parentPatrolsRowByPatrolsCompetitors != null)) {
         columnValuesArray[5] = parentPatrolsRowByPatrolsCompetitors[1];
     }
     rowCompetitorsRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowCompetitorsRow);
     return rowCompetitorsRow;
 }
Exemple #11
0
 public PatrolsRowChangeEvent(PatrolsRow row, global::System.Data.DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }