老师,
SelectedIndexChanging 是如下这么写吗
全局代码
Public Sub C1DockingTab2_SelectedIndexChanging(sender As System.Object, e As System.EventArgs)
msgbox("SelectedIndexChanging")
End Sub
创建控件时
Dim tab As C1.Win.C1Command.C1DockingTab = e.Form.Controls("TabControl1").basecontrol
AddHandler tab.SelectedIndexChanging, AddressOf C1DockingTab2_SelectedIndexChanging