用VB怎么设计程序在窗体上就建立三个命令按纽 单机后分别使窗体最大化最小化或还原!

2024-12-17 20:29:58
推荐回答(1个)
回答1:

代码如下。告枝
===袜仔敏===戚睁==
Private Sub Command1_Click()
WindowState = vbMaximized
End Sub

Private Sub Command2_Click()
WindowState = vbMinimized
End Sub

Private Sub Command3_Click()
WindowState = vbNormal
End Sub