当前位置:编程学习 > C#/ASP.NET >>

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) 请问此代码有何问题?
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,