Group: Forum Members
Last Active: 12 Years Ago
Posts: 127,
Visits: 1
|
Private WithEvents XXX As NDockManager
I am creating nested NDockManager controls inside another NDockManager dynamically, but i am having a puzzle that i need to have dynamically created NDockManager withEvents.
How could i overcome this problem?
|
Group: Forum Members
Last Active: Last Month
Posts: 139,
Visits: 184
|
Hello JSW W., In vb you can attach to an event also the following way: AddHandler <FIELD>.<EVENT>, AddressOf <EVENT_HANDLER> For NDockManager in particular: Dim manager As NDockManager = New NDockManager()AddHandler manager.PanelClosed, AddressOf manager_PanelClosed... Private Sub manager_PanelClosed(ByVal sender As Object, ByVal e As PanelEventArgs)... End Sub Regards, Angel.
|