DicomObjects.NET.V8
DicomObjects Namespace / DicomViewer Class / SafeUpdate Method



In This Topic
    SafeUpdate Method
    In This Topic
    Threadsafe version of standard Control.Update() method
    Syntax
    'Declaration
     
    Public Sub SafeUpdate() 
    'Usage
     
    Dim instance As DicomViewer
     
    instance.SafeUpdate()
    public void SafeUpdate()
    public:
    void SafeUpdate(); 
    Remarks
    The only reason for this method is to handle Update() where it is called from a thread other than the one which created the control. This override handles that situation nicely by causing the update to be deferred to the main thread.
    Requirements

    Target Platforms: .NET CLR 3.5 or higher

    See Also