Microsoft
Software
Hardware
Network
Question : cant use imageOpened
i am using silverlight.
I want to detect if all images have loaded from an array of strings .
This doesnt detect when all images are loaded and seems to detect only one image.
For i = 0 To _NoAnimationImages - 1
_mystrings(i) = mystrings(i)
url2 = New Uri(_mystrings(i), UriKind.Relative)
uu(i) = New BitmapImage(url)
uu(i).UriSource = url2
AddHandler uu(i).ImageOpened, AddressOf uu_imageSize
Next
End Sub
Public Sub uu_imageSize(ByVal sender As Object, ByVal e As RoutedEventArgs)
Dim i As Integer
Dim c As Color
Dim myuu As BitmapImage
myuu = sender
NoimageLoaded += 1
End Sub
Answer : cant use imageOpened
If all the images are same (the same image file, loading multiple times), then image will load only once and share from that memory.
Random Solutions
Deleting empty columns in dataset
Interop COM and WCF
Possible to /span (remote dual screen) desktops within Remote Web Workplace?
FormsAuthentication.Redire<wbr />ctFromLogi<wbr />nPage question
copy selected macros to a brand new workbook
Setting TextBlock Text Property dynamically
Problem with Backup Configuration Wizard in SBS 2003 - "An unexpected error occurred (80070057). The parameter is incorrect"
Edot form data
SSIS error code DTS_E_CannotAcquireConnect<wbr />ionfromCon<wbr />nectionMan<wbr />ager
How do I update a subform combobox from another form that the subform called?