[请教]自动生成shapeoval并将其放到groupbox内?
RT
请教:如何自动生成ovalshape控件并将其放到groupbox容器内??
Dim btn As Microsoft.VisualBasic.PowerPacks.OvalShape
btn = New Microsoft.VisualBasic.PowerPacks.OvalShape
btn.Parent = GroupBox1
这个代码有错误。。。
请高手指点。。。
[解决办法]
Dim btn As Microsoft.VisualBasic.PowerPacks.OvalShapebtn = New Microsoft.VisualBasic.PowerPacks.OvalShape Me.GroupBox1.Controls.Add(btn)
[解决办法]
Dim btn As Microsoft.VisualBasic.PowerPacks.OvalShape
btn = New Microsoft.VisualBasic.PowerPacks.OvalShape
Me.GroupBox1.Controls.Add(btn)