Hey,
I am working with a calendar control
A Professional Calendar/Agenda View That You Will Use - CodeProject
And am running into a problem, I have multiple instances of the control dynamicaly generated in a flowlayoutpanel.
When i have atleast 2 calendars on the form it atempts to clear the Items list that each control generates.
However it ends up clearing the list for EVERY instance of the control and not just the current item. I have checked and nothing is static and the constructor for Calendar creates a new instance of the list.
This means that once it has finished with the first calendar it process the second calendar and all the apointments in the first disapear...
Just trying to figure out how to stop this from happening
I am working with a calendar control
A Professional Calendar/Agenda View That You Will Use - CodeProject
And am running into a problem, I have multiple instances of the control dynamicaly generated in a flowlayoutpanel.
When i have atleast 2 calendars on the form it atempts to clear the Items list that each control generates.
However it ends up clearing the list for EVERY instance of the control and not just the current item. I have checked and nothing is static and the constructor for Calendar creates a new instance of the list.
C#:
_items = new CalendarItemCollection(this);
This means that once it has finished with the first calendar it process the second calendar and all the apointments in the first disapear...
Just trying to figure out how to stop this from happening