Exemple #1
1
 private void btnRacePilotD_Click(object sender, EventArgs e)
 {
     if (CurrentRace.PilotD == 0)
     {
         Pilot PilotD = new Pilot();
         PilotD.OnPilotOk += new EventHandler(PilotD_OnPilotOk);
         PilotD.Show();
     }
     else
     {
         CurrentRace.PilotD = 0;
         SyncRace();
     }
 }
Exemple #2
0
 private void btnAddPilotToTracker_Click(object sender, EventArgs e)
 {
     Pilot PPick = new Pilot();
     PPick.OnPilotOk += new EventHandler(PPick_OnPilotOk);
     PPick.Show();
 }