vb.net webbroswer崩溃应用程序

时间:2017-05-13 05:16:49

标签: windows vba basic

当我在我的vb应用程序中放置一个webbrowser时,它会崩溃.... 请帮助woud很好:)

Protected Overrides Sub OnCreateControl()
    MyBase.OnCreateControl()
    ParentForm.FormBorderStyle = FormBorderStyle.None ' <- line that crashes 
    ParentForm.AllowTransparency = False
    ParentForm.TransparencyKey = Color.Fuchsia
    ParentForm.FindForm.StartPosition = FormStartPosition.CenterScreen
    Dock = DockStyle.Fill
    Invalidate()
End Sub

0 个答案:

没有答案