我想在运行时向 Combobox 添加样式,如下所示:
Dim cbo as DevComponents.DotNetBar.Controls.ComboBoxEx
cbo = new DevComponents.DotNetBar.Controls.ComboBoxEx
With cbo
.Style=eDotNetBarStyle.Windows7
.width=200px
End With
ctl.Add(cbo)
但它不起作用。样式是正常的 Windows 控件样式。有人可以帮忙吗?