我的表格无法显示 [英] my form can't be shown

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

问题描述

我有一个带有用户控件的表单.

我一直想了解的一件事是,在用户控件中插入了几条代码之后,我的表单消失了.
它仅显示HTML内容.

在html内容中,有些包含加载设计器时遇到的一个或多个错误.下面列出了这些错误.某些错误可以通过重建项目来解决,而其他错误则可能需要更改代码."

错误列表"中未显示任何错误,程序正在按以前的方式运行.可能是什么问题?帮助...:)

I have a form with a user control.

One thing that I''m always getting into is that after several codes inserted in user control, my form disappears.
It only shows HTML contents.

In html contents, some includes "One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes."

There are no error shown in Error List and the program is running as it used to be. What probably the problem is? Help... :)

推荐答案

实际上,您是在表单中动态添加一些包含内容,因此表单正在运行.
如果您想查看设计,则不要添加动态容器,而只需拖放容器即可.但是不需要所有这些,因为它运行良好.无需担心这一点.做您的工作.不要认为是问题.
即使您想要,也不要从代码即Designer中添加容器. :laugh:
Actually u are adding some containts dynamically in your form,so the form is going.
if u want to see the design then do not add Dynamic containts only drag & drop the containts.But no need to this all becoz it runs good .no need to worry about this.do Your Work.Do not consider as a issue.
Even if u want then do not add the containt from code i.e. Designer. :laugh:


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

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