UserControl DoubleClick跳转到EventHandler代码 [英] UserControl DoubleClick jump to EventHandler code

查看:51
本文介绍了UserControl DoubleClick跳转到EventHandler代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为UserControl添加DesignTime支持。   UserControl有2个图形按钮,它们只占用矩形。它还公开了2个自定义事件。我可以在两个矩形中检测到DesignTime双击,但是我找不到
如何跳转到Form的EventHandler代码,如果你在设计时点击双击按钮就会这样做。

I'm working on adding DesignTime support for a UserControl. The UserControl has 2 graphical Buttons, which just occupy rectangles. It also exposes 2 custom Events. I can detect DesignTime doubleclicking in both of the rectangles, but I can't find how to jump to the Form's EventHandler code, as VB does if you doubleclick a Button at DesignTime.

有人可以帮忙吗?

感谢您的帮助

推荐答案

你使用什么工具(Visual Studio ..)?这是一个winforms项目吗?
What tool are you using (Visual Studio..)? Is it a winforms project?


这篇关于UserControl DoubleClick跳转到EventHandler代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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