JAMS Developer Guide
ControlAdded Event (AgentCtl)


MVPSI.JAMS Namespace > AgentCtl Class : ControlAdded Event
Syntax
'Declaration
 
<System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
<System.ComponentModel.BrowsableAttribute(True)>
<SRCategoryAttribute("Behavior")>
<SRDescriptionAttribute("Occurs when a control is added to this control.")>
Public Event ControlAdded As System.Windows.Forms.ControlEventHandler
'Usage
 
Dim instance As AgentCtl
Dim handler As System.Windows.Forms.ControlEventHandler
 
AddHandler instance.ControlAdded, handler
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
[System.ComponentModel.Browsable(true)]
[SRCategory("Behavior")]
[SRDescription("Occurs when a control is added to this control.")]
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also