예제 #1
0
        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);
            }
        }
예제 #3
0
 internal void Remove(ViewItemYear year)
 {
     Years.Remove(year);
 }