Dim 复选框 As WinForm.CheckedListBox = e.Form.Controls("CheckedListBox1") Dim str As String For Each i As Integer In 复选框.CheckedIndices str = str & "," & 复选框.items(i)("代码") Next str = str.trim(",") e.Form.DropDownBox.value = str e.Form.DropDownBox.CloseDropdown