在我的c#代码中解决错误 [英] error solving in my c# code

查看:120
本文介绍了在我的c#代码中解决错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我尝试在Windows窗体中更改文本框的属性时,就会出现此错误:







---------------------------

Microsoft Visual C#2008 Express Edition

---------------------------

代码生成过程中遇到错误。您在设计器中所做的更改尚未提交给源代码。建议您关闭并重新打开源文件。错误信息如下:







未指定错误

--- ------------------------

OK

--------- ------------------







请帮忙解决这个问题???

Whenever i try to change property of my textbox in windows form this error arises:



---------------------------
Microsoft Visual C# 2008 Express Edition
---------------------------
An error was encountered during code generation. The changes you have made in the designer have not been committed to the source code. It is recommended that you close and re-open the source file. The error message follows:



Unspecified error
---------------------------
OK
---------------------------



Please help how to solve it???

推荐答案

尝试关闭窗口并重新启动它。然后打开VS,并在执行完全重建之前清理解决方案。如果这没有解决它,那么我们需要比你给出的更好的信息! :笑:





耶!我刚刚意识到 - 这是我给出的第一个QA答案,基本上是关闭并重新开启! :D

- OriginalGriff

[/ edit]
Try closing down windows and restarting it. Then open VS, and clean your solution before doing a full rebuild. If that doesn't solve it, then we would need a lot better info than you have given! :laugh:

[edit]
Yay! I just realised - this is the first QA answer I have given that is basically "Turn it off and back on again"! :D
- OriginalGriff
[/edit]


这篇关于在我的c#代码中解决错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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