我的表格无法加载.. [已解决] [英] My form can't load..[Solved]

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

问题描述

http://i.hizliresim.com/LPgpoG.png [ ^ ]



有我麻烦的照片。我什么都听不懂。按钮没有加载。我把断点放在表单的load事件中。但它没有用。它不会给出任何错误或警告。我打开的所有项目都是这样做的。请帮我 。在此先感谢。

http://i.hizliresim.com/LPgpoG.png[^]

There is my trouble's photo. I can't understand anything. The buttons weren't load. I put breakpoint the form's load event. But it is not working. It isn't give any errors or warnings. All projects, which one I opened, do this. Please Help Me . Thanks in Advance.

推荐答案

解决方案=添加建设性功能和InitializeComponent。

感谢 http://www.codeproject.com/script/Membership/View.aspx?mid=55831 [ ^ ]
Solution=Adding constructive function and InitializeComponent.
Thanks to http://www.codeproject.com/script/Membership/View.aspx?mid=55831[^]


请参阅我对该问题的评论。根据您的信息,很难说清楚。



因此,请执行以下操作:从头开始创建一个全新的Forms项目。从Toobox中只添加一个控件并运行它。它应该立即起作用。别做其他事。然后研究您的代码和新代码,找出10个不同之处。 :-)



如果你没有看到失败,提供更多信息,或者......通过它(你的代码中是否有任何价值?)并创建另一个从头开始,这一次,准确。甚至不使用没有版本控制系统的想法。你需要它能够回溯你的步骤。在获得更多经验之前,对每个成功的小步骤,特别是在您的第一个项目上进行更改。



-SA
Please see my comment to the question. Based on your information, it's hard to say anything certain.

Therefore, do the following: create a brand new Forms project from scratch. Add just one control from a Toobox and run it. It should work immediately. Don't do anything else. Then study the your code and new code and find 10 differences. :-)

If you fail to see the failure, provide more information, or… through it out (is there any value in your code anyway?) and create another project from scratch, this time, accurately. Don't even play with the idea of leaving without Revision Control System. You need it to be able to retrace your steps. Commit changes on every successful small step, especially on your first projects, before you get more experience.

—SA


这篇关于我的表格无法加载.. [已解决]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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