Windows窗体的Designer视图突然被禁用:如何启用它 [英] Designer view of windows form is suddenly disabled : how to enable it

查看:91
本文介绍了Windows窗体的Designer视图突然被禁用:如何启用它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在vb.net中创建了表单,并在其中放置了一些文本框和命令按钮.我还为项目添加了一些引用,并为这些文本框和命令按钮编写了一些代码.但是突然禁用了此表单的设计器视图,仅提供了代码视图.我编译并运行我的项目,它正常运行,并且没有错误.它发生了两次.如何获取这种形式的设计器视图?

I have created form in vb.net and put some text boxes and command buttons on it. I also add some references to my project and write some code for these text boxes and command buttons. but suddenly designer view of this form is disabled only code view is available. I complie and run my project, it runs properly and give no errors. It happens for two times. How to get back designer view of this form ?

推荐答案

转到Visual Studio的格式"菜单选项,并确保未打开锁定控件".
Goto Visual Studio''s Format menu option and ensure that ''Lock Controls'' in not turned on.


格式菜单未显示.在调试和数据菜单之后,将显示工具菜单.
Format menu is not displayed. after debug and data menu, tools menu displayed.


这篇关于Windows窗体的Designer视图突然被禁用:如何启用它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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