从后面code Visual Studio 2010中显示可用事件 [英] Visual studio 2010 showing available events from code behind

查看:191
本文介绍了从后面code Visual Studio 2010中显示可用事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在工作和家庭中的我已经安装了VS2010。但在工作中,我有这一个很酷的功能。在隐藏文件中的code,我有两个下拉菜单。当我选择了左边的某个对象可以说,一个testButton或缺省2(Page类),在合适的人,我得到的所有可用事件的对象,当我选择一个事件的Visual Studio会自动生成它在我的code-隐藏文件。在我的家乡VS其实,我做2下拉菜单,但他们的工作不同。我有合适的人可用的对象,但是当我选择例如testButton它让我看到aspx页面并点这个按钮:/我应该设定sommething在VS的配置或者在工作中我有一些插件,这我不知道的?任何想法?

In work and in home I have VS2010 installed. But in work I have this one cool feature. On the code behind file I have two drop downs. When I select some object in the left one lets say a testButton or Default2 (a page class), on the right one I get all available events for that object and when I select an event Visual Studio autogenerates it in my code-behind file. In my home VS I actually have does 2 drop downs but they work different. I have available objects on the right one but when I select for example the testButton it shows me the aspx page and points this button :/ Should I set sommething in the VS configuration or maybe in work I have some addon which I'm not aware of? Any ideas?

推荐答案

好吧,我想我已经找到了答案。看来,此功能只有在当前文件是在VB.Net可用。在我看来这suks:/

Ok I think I've found the answer. It seems that this feature is only available when the current file is in VB.Net. In my opinion this suks :/

这篇关于从后面code Visual Studio 2010中显示可用事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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