Skip to content

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

License

Notifications You must be signed in to change notification settings

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 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.

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

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

Topics

Resources

License

Stars

Watchers

Forks