Dear atalasoft,
I receive the following exception:
Cross-thread operation not valid: Control 'WorkspaceViewer' accessed from a thread other than the thread it was created on. This WorkspaceViewer is a component within a custom control. The exception occurs when I am disposing that form (while closing it):
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing) <<< HERE
End Try
End Sub
For as far as I know, the WorkspaceViewer is created in the UI thread (single threaded). And disposing occurs in the same UI thread IMO. Do you know anything that might cause this?
Please ask for more details if needed!