Ejemplo n.º 1
0
 /// <summary>
 /// Deserialization constructor
 /// </summary>
 internal RecurringScheduleEntry(SerializableRecurringScheduleEntry serial)
 {
     m_startDate = serial.StartDate;
     m_endDate = serial.EndDate;
     m_title = serial.Title;
     m_options = serial.Options;
     m_dayOfMonth = serial.DayOfMonth;
     m_dayOfWeek = serial.DayOfWeek;
     m_startSecond = serial.StartTimeInSeconds;
     m_endSecond = serial.EndTimeInSeconds;
     m_frequency = serial.Frequency;
     m_weeksPeriod = serial.WeeksPeriod;
     m_overflowResolution = serial.OverflowResolution;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deserialization constructor
 /// </summary>
 internal RecurringScheduleEntry(SerializableRecurringScheduleEntry serial)
 {
     m_startDate          = serial.StartDate;
     m_endDate            = serial.EndDate;
     m_title              = serial.Title;
     m_options            = serial.Options;
     m_dayOfMonth         = serial.DayOfMonth;
     m_dayOfWeek          = serial.DayOfWeek;
     m_startSecond        = serial.StartTimeInSeconds;
     m_endSecond          = serial.EndTimeInSeconds;
     m_frequency          = serial.Frequency;
     m_weeksPeriod        = serial.WeeksPeriod;
     m_overflowResolution = serial.OverflowResolution;
 }
Ejemplo n.º 3
0
        private void SetRecurringOverflowDropdown(MonthlyOverflowResolution monthlyOverflowResolution)
        {
            switch (monthlyOverflowResolution)
            {
            default:
            case MonthlyOverflowResolution.Drop:
                cbRecurOnOverflow.SelectedIndex = 0;
                break;

            case MonthlyOverflowResolution.OverlapForward:
                cbRecurOnOverflow.SelectedIndex = 1;
                break;

            case MonthlyOverflowResolution.ClipBack:
                cbRecurOnOverflow.SelectedIndex = 2;
                break;
            }
        }
Ejemplo n.º 4
0
        /// <summary>
        /// Sets the recurring overflow dropdown.
        /// </summary>
        /// <param name="monthlyOverflowResolution">The monthly overflow resolution.</param>
        private void SetRecurringOverflowDropdown(MonthlyOverflowResolution monthlyOverflowResolution)
        {
            switch (monthlyOverflowResolution)
            {
            case MonthlyOverflowResolution.Drop:
                cbRecurOnOverflow.SelectedIndex = 0;
                break;

            case MonthlyOverflowResolution.OverlapForward:
                cbRecurOnOverflow.SelectedIndex = 1;
                break;

            case MonthlyOverflowResolution.ClipBack:
                cbRecurOnOverflow.SelectedIndex = 2;
                break;

            default:
                throw new NotImplementedException();
            }
        }
 private void SetRecurringOverflowDropdown(MonthlyOverflowResolution monthlyOverflowResolution)
 {
     switch (monthlyOverflowResolution)
     {
         default:
         case MonthlyOverflowResolution.Drop:
             cbRecurOnOverflow.SelectedIndex = 0;
             break;
         case MonthlyOverflowResolution.OverlapForward:
             cbRecurOnOverflow.SelectedIndex = 1;
             break;
         case MonthlyOverflowResolution.ClipBack:
             cbRecurOnOverflow.SelectedIndex = 2;
             break;
     }
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Sets the recurring overflow dropdown.
 /// </summary>
 /// <param name="monthlyOverflowResolution">The monthly overflow resolution.</param>
 private void SetRecurringOverflowDropdown(MonthlyOverflowResolution monthlyOverflowResolution)
 {
     switch (monthlyOverflowResolution)
     {
         case MonthlyOverflowResolution.Drop:
             cbRecurOnOverflow.SelectedIndex = 0;
             break;
         case MonthlyOverflowResolution.OverlapForward:
             cbRecurOnOverflow.SelectedIndex = 1;
             break;
         case MonthlyOverflowResolution.ClipBack:
             cbRecurOnOverflow.SelectedIndex = 2;
             break;
         default:
             throw new NotImplementedException();
     }
 }