开发者

How do I tell if a PictureBox's Image has changed?

Apparently, the PictureBox class does not offer an event when its Image property is set. 开发者_如何学PythonIs there a way to still catch such a change, possibly by subclassing?


You could subclass it and hide the base class' Image property, providing your own which raised an event in the property setter (set) if the value is different.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜