如何查看/显示器的事件正在从控制发射在用户界面上 [英] How to view/monitor which events are being fired from controls on a user interface

查看:96
本文介绍了如何查看/显示器的事件正在从控制发射在用户界面上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建使用C#的WinForms的图形用户界面,所有的控件都有许多活动。我想知道这些事件都被解雇时。一种方法是把调试语句在每个事件处理程序,但是这将需要太多的工作。有没有在Visual Studio 2008/2010或这样做的任何方式有任何工具,可以帮助?

I am creating an GUI using winforms in C#, all the controls have numerous events. I would like to know which of these events are being fired and when. One way would be to put debug statements on each of the event handlers but that would require too much work. Is there any way of doing this in Visual Studio 2008/2010 or are there any tools that can help?

推荐答案

托管间谍已可能性登录所选控制的所有事件。请参见这篇文章,其中
你可以看到这个工具,下载。

Managed Spy has possibility to log all events of chosen control. See this article where you can read about this tool and download it.

这篇关于如何查看/显示器的事件正在从控制发射在用户界面上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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