private void Form1_Load(object sender, EventArgs e) { birdWatchers[0] = new BirdWatcher("Stijn", 2, 10); birdWatchers[1] = new BirdWatcher("Petya", 4, 10); birdWatchers[2] = new BirdWatcher("Boyan", 1, 10); rbnWatcher1.Text = birdWatchers[0].GetName(); rbnWatcher2.Text = birdWatchers[1].GetName(); rbnWatcher3.Text = birdWatchers[2].GetName(); }
private void rbnWatcher3_CheckedChanged(object sender, EventArgs e) { selectedBirdWatcher = birdWatchers[2]; }