예제 #1
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();
        }
예제 #2
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);
 }