开发者

DebugVisualizer for UserControl

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜