开发者

How do you expand a form at runtime in VB.NET to display more information?

I have a form in VB.NET and I would like the user to be able to click a button which will display another form (with开发者_StackOverflow中文版 the original form still visible).

How do I do this?


Protected Sub MyButton_Click(sender As Object, e As EventArgs) _
        Handles MyButton.Click

    Dim MySecondForm As New MySecondFormType()
    MySecondForm.Show()

End Sub
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜