Visual Studio 2008“文档大纲"停止为我的项目中的主窗体工作 [英] Visual Studio 2008 "Document Outline" stopped working for the main form in my project

查看:32
本文介绍了Visual Studio 2008“文档大纲"停止为我的项目中的主窗体工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我非常喜欢 VS 2008 中相当晦涩的文档大纲"窗口(它隐藏在视图"->其他 Windows"菜单中).

I'm a big fan of the rather obscure "Document Outline" window in VS 2008 (it's buried in the View -> Other Windows menu).

这是我所知道的获得包含大量嵌套控件的复杂 WinForm 的包含层次结构视图的唯一方法.

It's the only way I know to get a view of the containment heirarchy for a complicated WinForm that has a lot of nested controls.

几个月前,这对我的 WinForms 项目中最复杂的表单不起作用.现在它只显示所选文档没有要显示的项目",无论我在设计器中选择什么.

Some months ago, this just stopped working for the most complicated form in my WinForms project. Now it just displays "There are no items to show for the selected document", no matter what I select in the designer.

不知道是什么破坏了它 - 该表单包含常见 MS 控件和一些第三方控件(主要是 DevExpress)的混合.几个SplitContainer,不过Document Outline本来就没有这些问题.

No clue as to what broke it - the form contains a mix of common MS controls and some third party controls (mainly DevExpress). Several SplitContainers, but Document Outline originally had no problem with these.

有没有其他人看到过这个问题,以及如何解决它的任何建议?

Anybody else seen this, and any suggestions on how to fix it?

推荐答案

经过一番摸索,我自己解决了这个问题.

After some poking around, I solved the problem myself.

我刚刚开始从表单中删除控件,看看会发生什么.

I just started deleting controls from the form, to see what would happen.

结果是我使用的第 3 方网格导致了问题 - 当我重新配置它时,问题就消失了.(看起来像是控件中的错误,我已向供应商报告).

Turns out the 3rd party grid I'm using caused the problem - when I reconfigured it, the problem went away. (Looks like a bug in the control, which I've reported to the vendor).

有趣...行为不当的控件可能会破坏 VS IDE,而不仅仅是您的应用程序.

Interesting...misbehaving controls can break the VS IDE, not just your apps.

这篇关于Visual Studio 2008“文档大纲"停止为我的项目中的主窗体工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆