public CompetitionRowChangeEvent(CompetitionRow row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
 public StationsRow AddStationsRow(int StationId, int StationNr, int Figures, int Shoots, bool Points, CompetitionRow parentCompetitionRowByCompetitionLanes, bool Distinguish) {
     StationsRow rowStationsRow = ((StationsRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             StationId,
             StationNr,
             Figures,
             Shoots,
             Points,
             null,
             Distinguish};
     if ((parentCompetitionRowByCompetitionLanes != null)) {
         columnValuesArray[5] = parentCompetitionRowByCompetitionLanes[0];
     }
     rowStationsRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowStationsRow);
     return rowStationsRow;
 }
 public PatrolsRow AddPatrolsRow(int PatrolId, int StartDateTime, CompetitionRow parentCompetitionRowByCompetitionPatrols, bool Automatic, int PClass, int StartDateTimeDisplay) {
     PatrolsRow rowPatrolsRow = ((PatrolsRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             null,
             PatrolId,
             StartDateTime,
             null,
             Automatic,
             PClass,
             StartDateTimeDisplay};
     if ((parentCompetitionRowByCompetitionPatrols != null)) {
         columnValuesArray[3] = parentCompetitionRowByCompetitionPatrols[0];
     }
     rowPatrolsRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowPatrolsRow);
     return rowPatrolsRow;
 }
 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;
 }
 public void RemoveCompetitionRow(CompetitionRow row) {
     this.Rows.Remove(row);
 }
 public void AddCompetitionRow(CompetitionRow row) {
     this.Rows.Add(row);
 }