📄 ex6.frm
字号:
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Object = "{8E27C92E-1264-101C-8A2F-040224009C02}#7.0#0"; "MSCAL.OCX"
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Begin VB.Form Form1
Caption = "Date/Time"
ClientHeight = 6345
ClientLeft = 60
ClientTop = 450
ClientWidth = 9675
LinkTopic = "Form1"
ScaleHeight = 6345
ScaleWidth = 9675
StartUpPosition = 3 'Windows Default
Begin TabDlg.SSTab SSTab1
Height = 5100
Left = 160
TabIndex = 4
Top = 195
Width = 9375
_ExtentX = 16536
_ExtentY = 8996
_Version = 393216
Tabs = 2
TabsPerRow = 6
TabHeight = 520
TabCaption(0) = "Date && Time"
TabPicture(0) = "Ex6.frx":0000
Tab(0).ControlEnabled= -1 'True
Tab(0).Control(0)= "Label1"
Tab(0).Control(0).Enabled= 0 'False
Tab(0).Control(1)= "Frame1"
Tab(0).Control(1).Enabled= 0 'False
Tab(0).Control(2)= "Frame2"
Tab(0).Control(2).Enabled= 0 'False
Tab(0).ControlCount= 3
TabCaption(1) = "Time Zone"
TabPicture(1) = "Ex6.frx":001C
Tab(1).ControlEnabled= 0 'False
Tab(1).Control(0)= "Image1"
Tab(1).Control(1)= "Combo1"
Tab(1).Control(2)= "Check1"
Tab(1).ControlCount= 3
Begin VB.Frame Frame2
Caption = "&Time"
Height = 3855
Left = 4800
TabIndex = 8
Top = 580
Width = 4335
Begin MSComCtl2.UpDown UpDown4
Height = 255
Left = 3000
TabIndex = 20
Top = 3150
Width = 240
_ExtentX = 423
_ExtentY = 450
_Version = 393216
Enabled = -1 'True
End
Begin MSComCtl2.UpDown UpDown3
Height = 255
Left = 2040
TabIndex = 19
Top = 3150
Width = 240
_ExtentX = 423
_ExtentY = 450
_Version = 393216
Enabled = -1 'True
End
Begin MSComCtl2.UpDown UpDown2
Height = 255
Left = 1080
TabIndex = 18
Top = 3150
Width = 240
_ExtentX = 423
_ExtentY = 450
_Version = 393216
Enabled = -1 'True
End
Begin VB.OptionButton Option2
Caption = "PM"
Height = 195
Left = 3360
TabIndex = 14
Top = 3300
Width = 855
End
Begin VB.OptionButton Option1
Caption = "AM"
Height = 195
Left = 3360
TabIndex = 13
Top = 3050
Width = 615
End
Begin VB.TextBox Text4
Height = 315
Left = 2400
TabIndex = 12
Top = 3120
Width = 855
End
Begin VB.TextBox Text3
Height = 315
Left = 1440
TabIndex = 11
Top = 3120
Width = 855
End
Begin VB.TextBox Text2
Height = 315
Left = 480
TabIndex = 10
Top = 3120
Width = 855
End
End
Begin VB.Frame Frame1
Caption = "&Date"
Height = 3855
Left = 210
TabIndex = 7
Top = 580
Width = 4455
Begin MSComCtl2.UpDown UpDown1
Height = 255
Left = 3830
TabIndex = 17
Top = 510
Width = 240
_ExtentX = 423
_ExtentY = 450
_Version = 393216
Enabled = -1 'True
End
Begin VB.TextBox Text1
Height = 315
Left = 2880
TabIndex = 16
Top = 480
Width = 1215
End
Begin VB.ComboBox Combo2
Height = 315
ItemData = "Ex6.frx":0038
Left = 240
List = "Ex6.frx":0060
TabIndex = 0
Top = 480
Width = 2415
End
Begin MSACAL.Calendar Calendar1
Height = 2655
Left = 240
TabIndex = 9
Top = 1070
Width = 3855
_Version = 524288
_ExtentX = 6800
_ExtentY = 4683
_StockProps = 1
BackColor = -2147483639
Year = 2008
Month = 4
Day = 30
DayLength = 1
MonthLength = 1
DayFontColor = 0
FirstDay = 7
GridCellEffect = 0
GridFontColor = 10485760
GridLinesColor = -2147483632
ShowDateSelectors= 0 'False
ShowDays = -1 'True
ShowHorizontalGrid= 0 'False
ShowTitle = 0 'False
ShowVerticalGrid= 0 'False
TitleFontColor = 10485760
ValueIsNull = 0 'False
BeginProperty DayFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty GridFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty TitleFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
End
Begin VB.CheckBox Check1
Caption = "Automaticlly adjust clock for daylight savong changes"
Height = 255
Left = -74040
TabIndex = 6
Top = 4400
Width = 7455
End
Begin VB.ComboBox Combo1
Height = 315
Left = -74040
TabIndex = 5
Top = 460
Width = 7215
End
Begin VB.Label Label1
Height = 255
Left = 210
TabIndex = 15
Top = 4560
Width = 8655
End
Begin VB.Image Image1
Height = 2760
Left = -74040
Picture = "Ex6.frx":00C6
Stretch = -1 'True
Top = 1000
Width = 7155
End
End
Begin VB.CommandButton Command3
Caption = "Apply"
Height = 585
Left = 8040
TabIndex = 3
Top = 5520
Width = 1500
End
Begin VB.CommandButton Command2
Caption = "Cancel"
Height = 585
Left = 6240
TabIndex = 2
Top = 5520
Width = 1500
End
Begin VB.CommandButton Command1
Caption = "OK"
Height = 585
Left = 4440
TabIndex = 1
Top = 5520
Width = 1500
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim hasSavingsTime(50) As Boolean '声明全局数组存储是否储存了时间
Dim k As Integer '声明全局变量用来返回listIndex的值
Dim m(50) As String '全局数组存放Time zone offsets in minutes
Dim temp As String '全局字符串代表对话框中打印的内容
Private Sub Combo1_Click()
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -