I am currently working on a program that uses multiple panels to split up the various fields on the Form. They cover 100% of the form's viewable area.

However, there are items I want to add that are above the structure of the Form, so that they will not be contained by a panel. How can I add a control to an area of the form without it being added to a panel that is occupying the same area?

To clarify, when I drag a TextBox or other control over a panel, it gets automatically added to it's list of controls, which I do not want

有帮助吗?

解决方案

Select the form, then double-click the control in the toolbox. This will add it to the selected container.

You will probably then want to set Dock to Top, and perhaps send to back.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top