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.
精彩评论