如下代码
Dim fil As WinForm.FileManager = e.Form.CreateControl("FileManager", ControlTypeEnum.FileManager)fil.BindingField = "表A.第一列"e.form.AddControl(fil)Dim bfil= fil.basecontrol.Controls("SplitContainer1")bfil.Panel2Collapsed = FalseDim lbx = bfil.panel1.controls(0)lbx.backcolor = color.red