Skip to content

DevExpress-Examples/winforms-scheduler-find-free-time-intervals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WinForms Scheduler - Find free time for a meeting

This example uses the FreeTimeCalculator class to find all available free time intervals within the specified period of time. You can also use this class to find the nearest free time slot with the specified duration.

The FindFreeTimeInterval method raises the IntervalFound event if it finds an interval that does not overlap with existing appointments. The example handles this event to exclude intervals that fall within "restricted" areas, such as non-working hours and holidays.

This example looks for a free time slot with the specified duration within the work time before the end of the current work week.

Note

The example uses SQL Server (XtraScheduling.mdf, XtraScheduling_log.ldf). You should attach databases to the MS SQL server and change the connection string in the app.config file before you start the project.

About

Find available free time intervals within the specified period of time within the current work week.

Topics

Resources

License

Stars

Watchers

Forks