C #: moving controls from form to tabPage in VS Form Designer

I decided to change the utility I'm working on to use the tab. When I tried to drag various controls from the form onto the tab at the top of the form, she made copies of the control, giving it a different name. It's simple enough to just redo the form on top of the tab, or just edit the source code in the designer so that everything is added to the tab (and this is what I did, what worked), but it seems like there will probably be a better way to do this through gui.

+4
source share
3 answers

You tried to cut and paste. This usually works for me.

+4
source

The right tool for this is Document Structure (CTRL + W, U). Just drag and drop your set of controls into the outline so that they are under the bookmark. Voila.

The document outline greatly simplifies these operations, especially when you are dealing with complex layouts.

+18
source

The control key is stuck. Do not press the control key while dragging the controls.

I drag the controls from the form control to the tab controls all the time without problems. Answer # 1 is absolutely correct.

You can use the Document Structure window and move the controls onto the tab page one by one by dragging the tree nodes.

The most difficult problem is to save management locations on a bookmark.

0
source