internal void Remove(ViewItemWeightCategory viewItemWeightCategory) { if (WeightCategories != null) { WeightCategories.Remove(viewItemWeightCategory); } _needsRecalc = true; }
private void SetChecked(DayOfWeek dayOfWeek, bool isChecked) { if (isChecked) { if (!DayOfWeeks.Contains(dayOfWeek)) { DayOfWeeks.InsertSorted(dayOfWeek); } } else { DayOfWeeks.Remove(dayOfWeek); } }
internal void Remove(ViewItemYear year) { Years.Remove(year); }