Reputation: 5158
I use Delphi 2007 in my daily work and have now start to look at VS2008 and C#. One confusing thing compared to Delphi is the design editor in VS.
Layout hierarchy in Delphi http://pp.kpnet.fi/bengtsson/temp/delphi.png
As you see on the left I have a hierarchy of components. Some of them like TPanel and TGroupbox can contain other components. It is very easy to change a parent just by dragging and dropping in the tree view.
Compare this with VS that has a flat structure. How can I reorganize the layout of components in VS? Is it something I have missed?
Regards
Upvotes: 3
Views: 1021
Reputation: 13028
In this case there is no difference between Delphi and C#. Even in C# you can embed controls in a groupbox or a panel. I don't think Visual Studio has the same Structure panel that Delphi has but that same hierarchy exists when you create that form.
EDIT: It's called "Document Outline" and you can find it under the menu View -> Other Windows -> Document Outline. Or press CTRL + Alt + T while in design mode.
Upvotes: 3
Reputation: 754598
Are you looking for something like the Source Code Outliner PowerToy??
Or if you're a CodeRush user and have the DXCore installed in your Visual Studio, you could also check out DX_SourceOutliner instead.
Upvotes: 2
Reputation: 15511
There's 3rd-party support, as google told me: http://www.telerik.com/products/winforms/tools.aspx. Which probably means that VS doesn't support this out of the box ;-) Not sure if it allows to move between parents, though.
Upvotes: 2