Desingwindow控件未显示 [英] Desingwindow controls not showing

查看:71
本文介绍了Desingwindow控件未显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人

我有一个大问题,这个问题我也遇到了很多时间.我不知道该怎么办?

我已经完成了在窗口应用程序中的项目(使用C#2.0).在我的项目中,某些时间(任何一个)都没有在设计时显示所有控件,但是我可以在运行时看到.所有代码都可以在"form.designer.cs"文件中找到.错误也没有提高.请帮助我任何人.

Dear all

i have big problem,this same problem i faced lot of time.i don''t know what to do?

i have done project in window application(using c# 2.0).in my project some time particular(any one) form all controls are not showing in design time,but i can see in runtime. all the codes are available in "form.designer.cs" file.error also not raising.pls help me anyone

推荐答案

VS2005中的功能".我将其报告给MS,他们告诉我它是采用这种方式设计的.您需要将调试器附加到VS,在代码中放置断点,然后尝试查看表单.设计器将运行部分而非全部代码,因此即使您的代码在运行时运行良好,设计器也可能崩溃而无法生成表单.您需要使代码复杂,才能与设计器一起使用.
This is a bug that was added as a ''feature'' in VS2005. I reported it to MS and they told me it was designed this way. You need to attach a debugger to VS, put breakpoints in your code, and try to view the form. The designer runs some, but not all, of your code, so that even if your code works fine at run time, the designer can crash and not generate your form. You need to make your code convoluted to work with the designer.


这篇关于Desingwindow控件未显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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