How to detect whether pictureBox successfully displayed the image or not?
I have a pictureBox that loads an image directly from the internet. The
image can change dynamically and is specified by the user in a textBox
that has a TextChanged event that changes the image in pictureBox to the
URL in the textBox. When user clicks the submit button, the image URL is
saved in the database. But before saving I want to validate the image,
that whether the image displayed successfully or the error image is
displayed in place of it. So how can I validate this?
No comments:
Post a Comment