⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.frm

📁 使用方法如下: 1、在工程中加入comm.h这个头文件 2、在stdafx.h中加入 #include 3、在聚合类改变方法如下: 原句:public IDispatchImpl 新句:public
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   3195
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   3195
   ScaleWidth      =   4680
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command1 
      Caption         =   "Command1"
      Height          =   735
      Left            =   1080
      TabIndex        =   0
      Top             =   600
      Width           =   2895
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim users As New TEST07Lib.users
Dim user As TEST07Lib.user

Set user = New TEST07Lib.user
user.Name = "a"
users.Add user

Set user = New TEST07Lib.user
user.Name = "b"
users.Add user

Set user = New TEST07Lib.user
user.Name = "c"
users.Add user

Set user = New TEST07Lib.user
user.Name = "d"
users.Add user

Set user = New TEST07Lib.user
user.Name = "e"
users.Add user


For Each user In users
MsgBox user.Name
Next

End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -