?? frmctimetest.frm
字號:
VERSION 5.00
Begin VB.Form frmCTimeTest
AutoRedraw = -1 'True
Caption = "Testing class CTime"
ClientHeight = 3300
ClientLeft = 60
ClientTop = 345
ClientWidth = 7800
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 = 3300
ScaleWidth = 7800
StartUpPosition = 3 'Windows Default
End
Attribute VB_Name = "frmCTimeTest"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
' Form module used to test class CTime1
Option Explicit
Private Sub Form_Load()
Dim t As New CTime1
Print "Initial Standard time is : " & t.ToStandardTime()
Print "Initial Universal time is: " & t.ToUniversalTime()
Print
Call t.SetTime(17, 28, 46)
Print "Standard time after calling SetTime: " & _
t.ToStandardTime
Print "Univeral time after calling SetTime: " & _
t.ToUniversalTime
Print
Call t.SetTime(5, 44, 99)
Print "Standard time after attempting invalid settings: " & _
t.ToStandardTime
Print "Univeral time after attempting invalid settings: " & _
t.ToUniversalTime
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -