Click here to Skip to main content
15,885,980 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am very new to vb.net. I have created MDIParent form and create a child form along with. I have toolstrip buttons in MDIParent form. And I send the values from MDI toolstrip to active child form.

MDI Toolstrip Items : Control1, control2, control3...

If control1 is selected, other control buttons will be disabled and control1 value will be sent to active child form.

If control2 is selected, other control buttons will be disabled and control2 value will be sent to active child form.

If control3 is selected, other control buttons will be disabled and control3 value will be sent to active child form.

Now I need to find out the solution for the corresponding control buttons in MDIform from active child form control which is added earlier.
Posted
Comments
OriginalGriff 20-Nov-14 10:28am    
Sorry, but that doesn't make a lot of sense to me.
Could you please explain it a bit more clearly, perhaps with an example?

Use the "Improve question" widget to edit your question and provide better information.

1 solution

Here is the idea: who needs MDI, ever? Why torturing yourself and scaring off your users?
Do yourself a great favor: do not use MDI at all. You can do much easier to implement design without it, with much better quality. MDI is highly discouraged even by Microsoft, in fact, Microsoft dropped it out of WPF and will hardly support it. More importantly, you will scare off all your users if you use MDI. Just don't. Please see:
http://en.wikipedia.org/wiki/Multiple_document_interface#Disadvantages[^],
How to Create MDI Parent Window in WPF?[^].

I can explain what to do instead. Please see my past answers:
How to Create MDI Parent Window in WPF? [Solution 2],
Question on using MDI windows in WPF[^],
MDIContainer giving error[^],
How to set child forms maximized, last childform minimized[^].

—SA
 
Share this answer
 
Comments
Maciej Los 20-Nov-14 16:42pm    
5ed!
Sergey Alexandrovich Kryukov 20-Nov-14 16:44pm    
Thank you, Maciej.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900