📄 frmdate.frm
字号:
VERSION 5.00
Begin VB.Form frmDate
AutoRedraw = -1 'True
Caption = "Demonstrating Composition"
ClientHeight = 780
ClientLeft = 3240
ClientTop = 3990
ClientWidth = 6330
BeginProperty Font
Name = "MS Sans Serif"
Size = 13.5
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
LinkTopic = "Form1"
ScaleHeight = 780
ScaleWidth = 6330
End
Attribute VB_Name = "frmDate"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
' Form module to test class CDate1 and CEmployee
Option Explicit
Private Sub Form_Load()
Dim employee1 As New CEmployee
Dim employee2 As New CEmployee
With employee1
.Firstname = "Bob"
.LastName = "Jones"
Call .BirthDate.SetDate(9, 8, 1965)
Call .HireDate.SetDate(2, 17, 1992)
End With
employee2.Firstname = "Susan"
employee2.LastName = "Baker"
Print employee1.ToString()
Print employee2.ToString()
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -