Esempio n. 1
0
    protected void DayPilotCalendar1_OnBeforeEventRecurrence(BeforeEventRecurrenceEventArgs ea)
    {
        List <DateTime> list = new List <DateTime>();

        for (int i = 1; i < 5; i++)
        {
            list.Add(ea.Start.AddHours(i));
        }
        ea.Rule = RecurrenceRule.FromList(list);
    }