I have microsoft outlook style application whereby i load child form when clicking on the UltraMonthViewMulti control on the mdiParent form. I have placed a monthViewSingle and weekView on the child form and want these to be in synch with the UltraMonthViewMulti. How do I marshal events down to the controls on the child form?
Brian,
I have two independent forms Form1 and Form2. Please look at the code snippet below.
Form2 form2=new Form2();
form2.UltraCalendarInfo1=this.UltraCalendarInfo1;
this.Close();
form2.Show();
When Form1 closes, form2.UltraCalendarInfo1 gets reset again even after the assignment in line 2.
How to retain the assigned values ?
Thanks in Advance
Panna
Just expose some public method/property off the child form that sets the CalendarInfo/CalendarLook properties of the controls on the child form, and call that method right before showing the child form.