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(); } }
private void btnAddPilotToTracker_Click(object sender, EventArgs e) { Pilot PPick = new Pilot(); PPick.OnPilotOk += new EventHandler(PPick_OnPilotOk); PPick.Show(); }