Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
335
Sharing calendarInfo across multiple pages
posted

Hi,

The WinSchedule demo works fine for me with a single form. But I  have a MDI Parent form and

 an MDIChild form and I want to use the calendarInfo on both the forms. I am displaying both the

forms simultaneously and maintaining appoinments on both forms. So how can I use DatabaseSupport.cs

in both the forms so that both the forms are in sync. ?

 

Thanks

Panna

Parents
No Data
Reply
  • 69832
    Suggested Answer
    Offline posted

    Just broaden the scope of the UltraCalendarInfo, i.e., change its scope modifier from private to internal, or add an internal/public property to the MDI parent form it is on so that it can be accessed from any child window.

Children
No Data