标记按钮时出错 [英] Error while labeling the button

查看:107
本文介绍了标记按钮时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

设计人员无法在第46行处理未知名称'btnUpdate'。方法'InitializeComponent'中的代码由设计人员生成,不应手动修改。请删除所有更改,然后再次尝试打开设计器。



Abhinav

The designer cannot process unknown name 'btnUpdate' at line 46. The code within the method 'InitializeComponent' is generated by the designer and should not be manually modified. Please remove any changes and try opening the designer again.


Abhinav

推荐答案

您是否手动更改了Designer.cs文件中的代码更改/重命名/添加btnUpdate?如错误所示,您不应该这样做。此外,正如错误所述,解决问题的方法是修复已更改的代码,使其恢复原状。 
Did you change the code in the Designer.cs file manually, by changing/renaming/adding the btnUpdate? As the error says, you shouldn't do that. Also, as the error says, the way to fix it is to fix that changed code to put it back to what it was. 


这篇关于标记按钮时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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