Beispiel #1
0
            public ShootersRow AddShootersRow(int Id, string Name, string Club)
            {
                ShootersRow rowShootersRow = ((ShootersRow)(this.NewRow()));

                rowShootersRow.ItemArray = new object[] {
                    Id,
                    Name,
                    Club
                };
                this.Rows.Add(rowShootersRow);
                return(rowShootersRow);
            }
            public ShootersRow AddShootersRow(string Cardnr, string Surname, string Givenname, string Email, ClubsRow parentClubsRowByClubsShooters, int Class)
            {
                ShootersRow rowShootersRow = ((ShootersRow)(this.NewRow()));

                rowShootersRow.ItemArray = new object[] {
                    Cardnr,
                    Surname,
                    Givenname,
                    Email,
                    parentClubsRowByClubsShooters[0],
                    Class
                };
                this.Rows.Add(rowShootersRow);
                return(rowShootersRow);
            }
 public ShootersRowChangeEvent(ShootersRow row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
 public void RemoveShootersRow(ShootersRow row) {
     this.Rows.Remove(row);
 }
 public void AddShootersRow(ShootersRow row) {
     this.Rows.Add(row);
 }
 public ShootersRowChangeEvent(ShootersRow row, DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
Beispiel #7
0
 public ShootersRowChangeEvent(ShootersRow row, DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
Beispiel #8
0
 public void RemoveShootersRow(ShootersRow row)
 {
     this.Rows.Remove(row);
 }
Beispiel #9
0
 public void AddShootersRow(ShootersRow row)
 {
     this.Rows.Add(row);
 }
 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;
 }
Beispiel #11
0
 public ShootersRowChangeEvent(ShootersRow row, global::System.Data.DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }