vb 把Form窗体嵌入到Panel中

Private Sub btnOtherOperation_Click(sender As Object, e As EventArgs) Handles btnOtherOperation.Click

        rightPanel.Visible = True
        Dim form2 As New Form2
        form2.TopLevel = False
        rightPanel.Controls.Add(form2)
        form2.Show()
End Sub

猜你喜欢

转载自blog.csdn.net/qq_35106907/article/details/81475210
VB
今日推荐