我运行没问题
请楼主按以下方式修改下代码试试
----------------------------------
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
x = Me.Width
y = Me.Height
TrackBar1.Value = 100
End Sub
改为
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
TrackBar1.Value = 100
End Sub
---------------------------------
Private Sub StatusStrip1_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Handles StatusStrip1.Resize
Me.Width = x
Me.Height = y
End Sub
删除掉
----------------------------------
Form1的FormBorderStyle的属性改为Sizable
-------------------------------
运行后试试是否是你要的功能