Looking for help with a design for a simple C# calendar app.
- by Vladislav
As a personal project, I'm putting together a C# WPF calendar.
I'm stuck on coding the calendar screen - specifically, the 5x7 grid of days.
I've first tried to code it using elements like Panels, Labels, and Buttons. I've decided that was too cumbersome.
I've then decided to use GDI to draw the calendar myself. I now have a wonderful layout - but I'm not sure how to handle interactive regions of the calendar. (Say, Previous/Next month, clicking on any particular day...)
After rendering the calendar screen, should I be creating button objects for all those tasks, and assigning onClick handlers to them?
Or is there an alternative solution?
Thanks in advance.
-Vladislav