I have a window with a gridview control with an image column. The image column displays PNG files on my local disk.
Once I'm done with this dialog (after ShowDialog()) I need to remove the images again from disk.
Unfortunately Windows tells me that the images are still in use by my process although the dialog has been closed successfully (my application still runs of course).
What do I need to do to be able to remove the PNG files after the dialog has been closed?
There is no dispose method for WPF windows. What cleanup do I need to do in the closed event?
Thanks for your help.
Markus
Once I'm done with this dialog (after ShowDialog()) I need to remove the images again from disk.
Unfortunately Windows tells me that the images are still in use by my process although the dialog has been closed successfully (my application still runs of course).
What do I need to do to be able to remove the PNG files after the dialog has been closed?
There is no dispose method for WPF windows. What cleanup do I need to do in the closed event?
Thanks for your help.
Markus