private void CheckActiveRemovePropertySelect() { Muhon muhon = Data; List <uint> attrids = (null != muhon) ? muhon.GetAdditiveAttrIds() : null; List <uint> clearIds = new List <uint>(); for (int i = 0; i < mlstSelectRemoveAttrs.Count; i++) { if (null != attrids && attrids.Contains(mlstSelectRemoveAttrs[i])) { continue; } clearIds.Add(mlstSelectRemoveAttrs[i]); } for (int i = 0; i < clearIds.Count; i++) { mlstSelectRemoveAttrs.Remove(clearIds[i]); } }