
Hi There
I am MAIN DOCUMENT with the docking controls, and then I am loading several User Controls into Document Tabs during run time. I create and load this user control (Lets call it Customers) from a Ribbon in a Tabbed MDI Docking Control. This is not a problem at all and it works fine. Take not this control(customers) was designed as a USERCONTROL and not included in the Tabbed MDI at design time.
Now, on this CUSTOMER Tab in my MDI, I placed a botton, that when clicked, it should open another usercontrol (Lets call it ORDERS) in a seperate Document Tab programatically.
I obviously cant reference my main document's code from the usercontrol at design time and as result I can't write code to load another form (Usercontrol) from there. I do not want to design ALL the documents and have them on the MDI Tab from the beginning.
Can anyone perhaps help with this.
Dave
I am MAIN DOCUMENT with the docking controls, and then I am loading several User Controls into Document Tabs during run time. I create and load this user control (Lets call it Customers) from a Ribbon in a Tabbed MDI Docking Control. This is not a problem at all and it works fine. Take not this control(customers) was designed as a USERCONTROL and not included in the Tabbed MDI at design time.
Now, on this CUSTOMER Tab in my MDI, I placed a botton, that when clicked, it should open another usercontrol (Lets call it ORDERS) in a seperate Document Tab programatically.
I obviously cant reference my main document's code from the usercontrol at design time and as result I can't write code to load another form (Usercontrol) from there. I do not want to design ALL the documents and have them on the MDI Tab from the beginning.
Can anyone perhaps help with this.
Dave