MDI Parent and Child Problem
-
I am developing an windows application where i have an MDI parent form that has menu strip i want that what ever option i have select from menu strip that may effect on MDI child form. Suppose that I have a label control on the child form i what to change the text color of that label then i have selected the option from menustrip that is in MDIparent so how can i show color dialog from MDI parent that can work for MDI Child form...
-
I am developing an windows application where i have an MDI parent form that has menu strip i want that what ever option i have select from menu strip that may effect on MDI child form. Suppose that I have a label control on the child form i what to change the text color of that label then i have selected the option from menustrip that is in MDIparent so how can i show color dialog from MDI parent that can work for MDI Child form...
I would accomplish this with events. Create events for all toolbar buttons on the MDI parent and have the child forms listen to the events that they can make something out of. That way you do not need to check if the currently active child form can handle the function that the user is clicking.