Dim tr As WinForm.treeview tr=e.Form.CreateControl("treeview" ,ControlTypeEnum.treeview) tr.setbounds(10,10,100,100) tr.Topmost=True
e.Form.AddControl(tr)上面代码报错了!