public WeaponsRow AddWeaponsRow(string WeaponId, string Manufacturer, string Model, string Caliber, int Class) { WeaponsRow rowWeaponsRow = ((WeaponsRow)(this.NewRow())); rowWeaponsRow.ItemArray = new object[] { WeaponId, Manufacturer, Model, Caliber, Class }; this.Rows.Add(rowWeaponsRow); return(rowWeaponsRow); }
public void RemoveWeaponsRow(WeaponsRow row) { this.Rows.Remove(row); }
public void AddWeaponsRow(WeaponsRow row) { this.Rows.Add(row); }
public WeaponsRowChangeEvent(WeaponsRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public WeaponsRowChangeEvent(WeaponsRow row, 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; }
public WeaponsRowChangeEvent(WeaponsRow row, DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void RemoveWeaponsRow(WeaponsRow row) { this.Rows.Remove(row); }
public void AddWeaponsRow(WeaponsRow row) { this.Rows.Add(row); }