private void UpdateCheckBoxesLeft() { foreach (Control C in LogicalCriteriaBox.Controls) { RadioButton radioButton = C as RadioButton; if (radioButton != null) radioButton.Checked = false; } }