' dir and fn were passed to this method...
' show a message box with result...
Msgbox2Async("File Name: "&fn&CRLF&CRLF&"Dir: "&dir, "Selected Image","DELETE","CANCEL","",Null, True)
Wait For Msgbox_Result (Result As Int)
If Result = xui.DialogResponse_Positive Then
If File.Delete(dir,fn) Then
BuildCLVList
End If
End If