Hi,I am using ImageViewerWpfControl to view live video of a camera.
I’d like to programmatically disable ImageViewerWpfControl and make it Invisible every time there is a “the server has lost connnection to the camera” event (or when it is impossible to start a connection), AND ALSO make it enabled and visible when connection to Camera come back (or when connection is started regularly).
How can I accomplish this?
IMPORTANT: I noticed that when “the server has lost connnection to the camera” event arrives, the ImageViewerWpfControl seems to freeze my application (in particular if user clicks on it).
Thanks