0
<Image Grid.Column="0" Grid.Row="1" Name="image" Stretch="Fill" />

and i set the source:

image.Source = new BitmapImage(@"E:\1.png", UriKind.Absolute));

when i try to remove the 1.png file. I get an error "The process cannot access the file 1.png because it is being used by another process." what can i do? // forgive me because my English is not very well.

0 Answers0