Ejemplo n.º 1
0
        private void UpdateData()
        {
            takeIntoAccountLifelengthChanging = false;

            HoursApplicable    = lifelength.IsHoursApplicable;
            CalendarApplicable = lifelength.IsCalendarApplicable;
            CyclesApplicable   = lifelength.IsCyclesApplicable;
            Cycles             = lifelength.Cycles;
            Hours = lifelength.Hours;

            SetData(Lifelength.GetHoursString(lifelength.Hours, showMinutes), HoursApplicable, textBoxHours);
            SetData(lifelength.Cycles.ToString(), CyclesApplicable, textBoxCycles);
            SetCalendarData(lifelength.Calendar, true);

            takeIntoAccountLifelengthChanging = true;
        }