DicomObjects.NET.V8
DicomObjects Namespace / DicomViewer Class / MakeControl Event



In This Topic
    MakeControl Event
    In This Topic
    Event called to create a Control to display an Image.
    Syntax
    'Declaration
     
    Public Event MakeControl As MakeControlHandler
    'Usage
     
    Dim instance As DicomViewer
    Dim handler As MakeControlHandler
     
    AddHandler instance.MakeControl, handler
    public event MakeControlHandler MakeControl
    public:
    event MakeControlHandler^ MakeControl
    Remarks

    This is used internally to generate controls for displaying objects such as PDF or CDA, but can also be used for other content types - e.g. to create a custom control to display an ECG.

    The return value should be either null (to indicate that this event is not generating a custom control, or any object derived from System.Windows.Forms.Control

    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also