VB.NET用panel装子窗体时提示"无法将顶级控件添加到控件。"
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.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) 请问此代码有何问题?