无法重命名按钮?? [英] Cannot rename buttons??

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

问题描述

我只是想命名我的按钮(准确地说是BtnEdit),方法与往常一样,然后在属性/名称部分中输入BtnEdit.但是此属性窗口"弹出说属性值无效".遇到错误 在代码生成过程中.您在设计器中所做的更改尚未提交给源代码.建议您关闭并重新打开源文件.错误消息如下:值不在预期范围内 范围."

I'm simply trying to name my buttons (BtnEdit to be exact) Doing it the same way I always do and typing BtnEdit into the properties/Name section. but this "Properties Window" pops up saying "Property value is not valid. 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: Value does not fall within the expected range." What does this mean????

推荐答案

我只是想命名我的按钮(准确地说是BtnEdit)我总是用相同的方式做然后在属性/名称部分中输入BtnEdit.但是此属性窗口"弹出说属性值无效".错误是 代码生成过程中遇到的问题.您在设计器中所做的更改尚未提交给源代码.建议您关闭并重新打开源文件.错误消息如下:值不属于 预期范围."这是什么意思???
I'm simply trying to name my buttons (BtnEdit to be exact) Doing it the same way I always do and typing BtnEdit into the properties/Name section. but this "Properties Window" pops up saying "Property value is not valid. 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: Value does not fall within the expected range." What does this mean????

这可能意味着VS具有再次变得愚蠢".

It probably means that VS has "gone stupid again".

尝试关闭Visual Studio,重新打开它,然后再次执行.如果它是有效名称而不是重复名称,则应该可以使用.

Try closing Visual Studio, re-open it and do it again. If it's a valid name that's not a duplicate, it should work.


这篇关于无法重命名按钮??的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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