DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomViewer Class / ControlAdded Event






In This Topic
    ControlAdded Event (DicomViewer)
    In This Topic
    Syntax
    'Declaration
     
    
    <SRCategoryAttribute("CatBehavior")>
    <System.ComponentModel.BrowsableAttribute(True)>
    <System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
    <SRDescriptionAttribute("ControlOnControlAddedDescr")>
    Public Event ControlAdded As System.Windows.Forms.ControlEventHandler
    'Usage
     
    
    Dim instance As DicomViewer
    Dim handler As System.Windows.Forms.ControlEventHandler
     
    AddHandler instance.ControlAdded, handler
    [SRCategory("CatBehavior")]
    [System.ComponentModel.Browsable(true)]
    [System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
    [SRDescription("ControlOnControlAddedDescr")]
    public event System.Windows.Forms.ControlEventHandler ControlAdded
    public event ControlAdded: System.Windows.Forms.ControlEventHandler; 
    In JScript, you can handle the events defined by another class, but you cannot define your own.
    [SRCategory("CatBehavior")]
    [System.ComponentModel.Browsable(true)]
    [System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
    [SRDescription("ControlOnControlAddedDescr")]
    public: __event System.Windows.Forms.ControlEventHandler* ControlAdded
    [SRCategory("CatBehavior")]
    [System.ComponentModel.Browsable(true)]
    [System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
    [SRDescription("ControlOnControlAddedDescr")]
    public:
    event System.Windows.Forms.ControlEventHandler^ ControlAdded
    Event Data

    The event handler receives an argument of type System.Windows.Forms.ControlEventArgs containing data related to this event. The following ControlEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the control object used by this event.  
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also