开发者

DebugVisualizer for UserControl

开发者 https://www.devze.com 2023-03-27 15:07 出处:网络
How to write a debug visualisers for a user cont开发者_运维问答rol? The user control has a bitmap property that needs to be displayed in the watch window during debugging. Let me know if this is poss

How to write a debug visualisers for a user cont开发者_运维问答rol?

The user control has a bitmap property that needs to be displayed in the watch window during debugging. Let me know if this is possible.

-Datte


Basic instructions:

http://msdn.microsoft.com/en-us/library/ms379596(v=vs.80).aspx

Here's an example which will also probably assist you as well:

http://imagedebugvisualizer.codeplex.com/

Pretty sure you can't actually make it modify the watch window itself, but when you have a variable there you can select your visualizer and inspect it. You may be able to get away with just using the example visualizer and throw something like Control.PropertyName in the watch window to view it.

0

精彩评论

暂无评论...
验证码 换一张
取 消