本文介绍了间谍.NET事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 一般性问题和具体问题。 1.是否有Spy实用程序显示.NET应用程序的事件 2.什么事件在调用Form.Show()时会被触发。 ? 解决方案 我有一个类似的要求,但没有找到一个好的解决方案。我已经向MSDN的Dino Dino Dino Esposito提交了请求。如果我回来了 ,我会在这里发布。 Colby 如果有一个间谍实用程序,它将不得不挂钩到CLR本身 (并且在这个过程中可能会降低你的应用程序,因为它会使用 调试挂钩,最有可能)找到触发事件的时间。 AFAIK,那里 不是这样的东西。 可能有一些解决方案需要你把代码放在 事件发射网站,但我怀疑这是你正在寻找的。 在表单上调用Show方法时,如果将触发显示事件这是第一次显示表单。如果表单也被隐藏,则VisibleChanged事件可以被触发。我相信Activate事件也可以被解雇 。 - - Nicholas Paldino [.NET / C#MVP] b $ b - mv*@spam.guard.caspershouse.com Colby Africa < co ********** @ gmail.comwrote in message news:11 ******************** **@o80g2000hse.googlegr oups.com ... 我有一个类似的要求,但没有找到一个好的解决方案。我已经向MSDN的Dino Dino Dino Esposito提交了请求。如果我回来了 ,我会在这里发布。 Colby 事件只不过是发布到窗口的拥有线程的的消息队列中的Windows消息。如果你想查看发布到 特定应用程序/线程/窗口的消息,你可以使用包括在内的Spyxx.exe VS2005(检查Common7 \工具) 。 威利。 A general question and a specific one. 1. Is there a Spy utility that shows events for a .NET application2. What events are fired when calling Form.Show()? 解决方案 I have a similiar requirement and have not found a good solution. Ihave submitted a request to Dino Dino Dino Esposito of MSDN. If I getsomething back, I will post it here. Colby I have a similiar requirement and have not found a good solution. Ihave submitted a request to Dino Dino Dino Esposito of MSDN. If I getsomething back, I will post it here.Colby Events are nothing more than Windows Messages posted to the Message Queue ofthe owning thread of a Window. If you want to view the messages posted to aspecific application/thread/window, you can use is Spyxx.exe included withVS2005 (Check Common7\tools). Willy. 这篇关于间谍.NET事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
11-02 09:49