停止在设计模式下显示课程 [英] Stop displaying a class in design mode

查看:95
本文介绍了停止在设计模式下显示课程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个包含几个类的代码文件,我的问题是,现在当我双击打开文件时,它会尝试将其打开,就像它是一个控件(设计而不是代码)一样,并且图标也被更改了.我想发生这种情况是因为其中一个类是从DataTable继承的...
您能教我如何摆脱这种行为吗?
谢谢!

Hi,
I have a code file with a few classes in it, my problem is that now when I double click the file to open, it tries to open it like it is a control (design instead of code), also the icon is changed. I''m thinking this happens because one of the classes inherits from DataTable...
Can you please teach me how to get rid of this behaviour?
Thank you!

推荐答案

单击单击此处以切换到代码视图"或右键单击该类并单击查看代码"菜单
Click on the "Click here to switch to Code view" or Right click on the class and click on "View Code" menu


这篇关于停止在设计模式下显示课程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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