How to display calendar with upcoming events / work shifts

Sweg

Member
Joined
Oct 4, 2016
Messages
6
Programming Experience
1-3
Hi,
I am trying to develop an employee roster/scheduler so employees can easily see their work schedule.

The problem I am running into is that I'm trying to display an employees month schedule (including days off).

So i basically want it to look like Google calendars, where you can see any upcoming events while looking at various months.

I am saving shifts in a DB, so I can display what days employees are working in a list, but the problem is that they don't see the days in between currently.

Does anyone know how I can add in this feature?
 

tdignan87

Well-known member
Joined
Jul 8, 2019
Messages
93
Programming Experience
Beginner
Are you doing this in winForms? or what? Any example?
 

Skydiver

Staff member
Joined
Apr 6, 2019
Messages
1,227
Location
Virginia Beach, VA
Programming Experience
10+
Assuming WPF, check out this tutorial on using the BlackoutDates of the WPF Calendar view:
 
Top Bottom