'codes for form1
Private Sub Command1_Click()
Load Form2
Dim msg As String
For I = 0 To Forms.Count - 1
msg = msg & " " & Forms(I).Caption
Next I
MsgBox msg, 64, "active forms"
End SubPrivate Sub Command2_Click()
Unload Form2
Dim msg As String
For I = 0 To Forms.Count - 1
msg = msg & " " & Forms(I).Caption
Next I
MsgBox msg, 64, "active forms"
End Sub
Private Sub Command1_Click()
Load Form2
Dim msg As String
For I = 0 To Forms.Count - 1
msg = msg & " " & Forms(I).Caption
Next I
MsgBox msg, 64, "active forms"
End SubPrivate Sub Command2_Click()
Unload Form2
Dim msg As String
For I = 0 To Forms.Count - 1
msg = msg & " " & Forms(I).Caption
Next I
MsgBox msg, 64, "active forms"
End Sub
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货