DicomObjects.NET.8.48 Documentation
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 procedure SafeUpdate(); 
    public function 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 4.8 or higher

    See Also