Beispiel #1
0
        void importer_CalendarStructureCreated(object sender, iCalendarStructureCreatedEventArgs e)
        {
            iCalendarImporter importer = (iCalendarImporter)sender;
            int maxNoOfAppointments    = importer.SourceObjectCount;

            // TODO: use the events count to adjust the scheduler view or to initialize indicators.
            eventsCount = maxNoOfAppointments;
        }
Beispiel #2
0
        void importer_CalendarStructureCreated(object sender, iCalendarStructureCreatedEventArgs e)
        {
            iCalendarImporter importer = (iCalendarImporter)sender;

            progressBar.Maximum = importer.SourceObjectCount;
        }