VB.NET用panel装子窗体时提示"无法将顶级控件添加到控件。"
Panel1.Location=NewPoint(500,0)Panel1.Size=NewSize(800,600)Panel1.BorderStyle=BorderS...
Panel1.Location = New Point(500, 0)
Panel1.Size = New Size(800, 600)
Panel1.BorderStyle = BorderStyle.Fixed3D
Dim fir As New Form2
Me.Panel1.Controls.Add(fir)
请问此代码有何问题? 展开
Panel1.Size = New Size(800, 600)
Panel1.BorderStyle = BorderStyle.Fixed3D
Dim fir As New Form2
Me.Panel1.Controls.Add(fir)
请问此代码有何问题? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询