public void customCheckBox_CheckedChanged(object sender) { MetroSetCheckBox checkBox = (MetroSetCheckBox)sender; if (checkBox.Checked == true) { ToDepartmentUsers.Add(checkBox.Tag); } else { ToDepartmentUsers.Remove(checkBox.Tag); } }
public MetroSetCheckBoxActionList(IComponent component) : base(component) { _metroSetCheckBox = (MetroSetCheckBox)component; }