Beispiel #1
0
            public CompetitorsRow AddCompetitorsRow(int PatrolClass)
            {
                CompetitorsRow rowCompetitorsRow = ((CompetitorsRow)(this.NewRow()));

                rowCompetitorsRow.ItemArray = new object[] {
                    null,
                    PatrolClass
                };
                this.Rows.Add(rowCompetitorsRow);
                return(rowCompetitorsRow);
            }
            public CompetitorsRow AddCompetitorsRow(int CompId, string CompName)
            {
                CompetitorsRow rowCompetitorsRow = ((CompetitorsRow)(this.NewRow()));

                rowCompetitorsRow.ItemArray = new object[] {
                    CompId,
                    CompName
                };
                this.Rows.Add(rowCompetitorsRow);
                return(rowCompetitorsRow);
            }
Beispiel #3
0
 public CompetitorsRowChangeEvent(CompetitorsRow row, DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
Beispiel #4
0
 public void RemoveCompetitorsRow(CompetitorsRow row)
 {
     this.Rows.Remove(row);
 }
Beispiel #5
0
 public void AddCompetitorsRow(CompetitorsRow row)
 {
     this.Rows.Add(row);
 }
 public CompetitorsRowChangeEvent(CompetitorsRow row, DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
 public void AddCompetitorsRow(CompetitorsRow row) {
     this.Rows.Add(row);
 }
 public void RemoveCompetitorsRow(CompetitorsRow row) {
     this.Rows.Remove(row);
 }
 public CompetitorsRowChangeEvent(CompetitorsRow row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
Beispiel #10
0
 public CompetitorsRowChangeEvent(CompetitorsRow row, global::System.Data.DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
 public TeamsRow AddTeamsRow(int TeamId, string Name, CompetitorsRow parentCompetitorsRowByCompetitorsTeams1, CompetitorsRow parentCompetitorsRowByCompetitorsTeams2, CompetitorsRow parentCompetitorsRowByCompetitorsTeams3, CompetitorsRow parentCompetitorsRowByCompetitorsTeams4, CompetitorsRow parentCompetitorsRowByCompetitorsTeams5, ClubsRow parentClubsRowByClubsTeams, int WClass) {
     TeamsRow rowTeamsRow = ((TeamsRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             TeamId,
             Name,
             null,
             null,
             null,
             null,
             null,
             null,
             WClass};
     if ((parentCompetitorsRowByCompetitorsTeams1 != null)) {
         columnValuesArray[2] = parentCompetitorsRowByCompetitorsTeams1[0];
     }
     if ((parentCompetitorsRowByCompetitorsTeams2 != null)) {
         columnValuesArray[3] = parentCompetitorsRowByCompetitorsTeams2[0];
     }
     if ((parentCompetitorsRowByCompetitorsTeams3 != null)) {
         columnValuesArray[4] = parentCompetitorsRowByCompetitorsTeams3[0];
     }
     if ((parentCompetitorsRowByCompetitorsTeams4 != null)) {
         columnValuesArray[5] = parentCompetitorsRowByCompetitorsTeams4[0];
     }
     if ((parentCompetitorsRowByCompetitorsTeams5 != null)) {
         columnValuesArray[6] = parentCompetitorsRowByCompetitorsTeams5[0];
     }
     if ((parentClubsRowByClubsTeams != null)) {
         columnValuesArray[7] = parentClubsRowByClubsTeams[0];
     }
     rowTeamsRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowTeamsRow);
     return rowTeamsRow;
 }
 public CompetitorResultsRow AddCompetitorResultsRow(int ResultId, CompetitorsRow parentCompetitorsRowByCompetitorsCompetitorResults, StationsRow parentStationsRowByStationsCompetitorResults, int FigureHits, int Hits, int Points, string StationFigureHits) {
     CompetitorResultsRow rowCompetitorResultsRow = ((CompetitorResultsRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             ResultId,
             null,
             null,
             FigureHits,
             Hits,
             Points,
             StationFigureHits};
     if ((parentCompetitorsRowByCompetitorsCompetitorResults != null)) {
         columnValuesArray[1] = parentCompetitorsRowByCompetitorsCompetitorResults[0];
     }
     if ((parentStationsRowByStationsCompetitorResults != null)) {
         columnValuesArray[2] = parentStationsRowByStationsCompetitorResults[0];
     }
     rowCompetitorResultsRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowCompetitorResultsRow);
     return rowCompetitorResultsRow;
 }