public void AddBox(JCheckbox box) { if (!CheckBoxes.Contains(box)) { CheckBoxes.Add(box); box.Group = this; } }
public void Update(JCheckbox trigger) { foreach (JCheckbox box in CheckBoxes) { if (!object.ReferenceEquals(box, trigger)) { box.Deselect(); } } }