Changing the parent of a menustrip with the visual designer

Posted by Kai Siegele on 12-Mar-2018 09:16

Hallo,

I have created a small windows form with the visual designer. The form contains a split container and a menustrip.

Unfortunately i have inserted the menustrip on a panel of a split container. Now I want to change the parent oft he menustrip to the main window. Has anyone an idea how to do?

Kind regards

Kai Siegele

Posted by jquerijero on 12-Mar-2018 09:44

There is an outline view of the form and its controls together with your Properties. You might need to add it to your view if it's not there. You can drag-and-drop controls to another parent using that view.

All Replies

Posted by jquerijero on 12-Mar-2018 09:44

There is an outline view of the form and its controls together with your Properties. You might need to add it to your view if it's not there. You can drag-and-drop controls to another parent using that view.

Posted by jquerijero on 12-Mar-2018 09:46

You can also change it by hand inside InitializeComponent if you are comfortable editing that part of the code. Just be careful.

Posted by Kai Siegele on 13-Mar-2018 02:52

Hallo,

thanks for your answer. Using the outline view for this behalf for this behalf is a very good idea.

Kind regards

Kai Siegele

This thread is closed