【发布时间】:2014-08-20 09:50:10
【问题描述】:
在 VB.net 中: 使用 combobox1.items.add(name) 将附加组合框项目。但我想查看组合框列表,最后添加的项目是第一个。截至目前,我将项目移动到一个数组中,然后使用 for 循环将值从最后一个移动到第一个。有没有捷径可以做到这一点?
代码:
For i As Integer = (RC_Array.Length - 1) To 0 Step -1
RC_Combobox.Items.Add(RC_Array(i)) 'Move the last value first
Next
【问题讨论】: