Dim lbl As WinForm.Labellbl = e.Form.CreateControl("lable1", ControlTypeEnum.Label)lbl.Text = "Foxtable"lbl.Left = 100lbl.Top = 100e.Form.AddControl(lbl)
以上代码是向窗体加加入一个标签。那么删除窗体中的标签代码RemoveControl(Name),我试了却报错,不知道原因、