private static void SetBaseEnabled(BaseEnabledItem baseEnabledItem, IBaseEnabled baseEnabled) { baseEnabled.Enabled = baseEnabledItem.Enabled.Checked; }