private void unusedbits(object sender, EventArgs e) { // Futureproofing: If either of the unused bitflags are 1 (true), // we'll display them to alert the user. TMedal1_0.Visible = TMedal1_0.Checked; TMedal1_1.Visible = TMedal1_1.Checked; }