Beispiel #1
0
        private List <Racer> racers = new List <Racer>();   // the list of all racers

        public RacingFedForm()
        {
            InitializeComponent();
            this.redScoutFrm  = new RedScoutForm();     // the window instance for Red Scout
            this.blueScoutFrm = new BlueScoutForm();    // the window instance for Blue Scout
            addSomeTestingStuff();
            showAllRacers();
        }
Beispiel #2
0
        public RacingFedForm()
        {
            InitializeComponent();
            this.redScoutFrm  = new RedScoutForm();  // the window for Red Scout
            this.blueScoutFrm = new BlueScoutForm(); // the window for Blue Scout

            addSomeTestingStuff();
            showAllRacers();
            LL = new LinkedListForTestRides();
        }
Beispiel #3
0
 public RacingFedForm()
 {
     InitializeComponent();
     this.redScoutFrm       = new RedScoutForm();  // the window instance for Red Scout
     this.blueScoutFrm      = new BlueScoutForm(); // the window instance for Blue Scout
     linkedListForTestRides = new LinkedListForTestRides();
     NewRacer += new Racer.ShowRacerHandler(blueScoutFrm.showRacers);
     NewRacer += new Racer.ShowRacerHandler(redScoutFrm.showRacers);
     addSomeTestingStuff();
     showAllRacers();
     blueScoutFrm.ShowProRacers(racers);
     redScoutFrm.ShowProRacers(racers);
 }