Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim form2 As New Windows.Forms.Form form2.Show() Me.FormBorderStyle = Windows.Forms.FormBorderStyle.Sizable End Sub End Class这个只能在点后调节form1的窗口风格
Dim form2 As New Windows.Forms.Form
form2.Show()
Me.FormBorderStyle = Windows.Forms.FormBorderStyle.Sizable End Sub
End Class这个只能在点后调节form1的窗口风格