📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "日历"
ClientHeight = 6510
ClientLeft = 60
ClientTop = 435
ClientWidth = 10635
LinkTopic = "Form1"
ScaleHeight = 6510
ScaleWidth = 10635
StartUpPosition = 3 '窗口缺省
Begin VB.PictureBox picShowDate
Appearance = 0 'Flat
BackColor = &H80000005&
ForeColor = &H80000008&
Height = 1200
Left = 6840
ScaleHeight = 1170
ScaleWidth = 3705
TabIndex = 15
Top = 1200
Visible = 0 'False
Width = 3735
Begin VB.Label Label3
BackColor = &H8000000E&
Caption = "节日:"
ForeColor = &H000000FF&
Height = 255
Left = 120
TabIndex = 23
Top = 840
Width = 735
End
Begin VB.Label Label4
BackColor = &H8000000E&
Caption = "干支:"
Height = 255
Left = 120
TabIndex = 22
Top = 540
Width = 735
End
Begin VB.Label Label5
BackColor = &H8000000E&
Caption = "农历:"
Height = 255
Left = 120
TabIndex = 21
Top = 280
Width = 735
End
Begin VB.Label Label1
BackColor = &H8000000E&
Caption = "公历:"
Height = 255
Index = 11
Left = 120
TabIndex = 20
Top = 30
Width = 735
End
Begin VB.Label lblDate
BackColor = &H8000000E&
Caption = "Label2"
Height = 255
Index = 0
Left = 840
TabIndex = 19
Top = 30
Width = 2775
End
Begin VB.Label lblDate
BackColor = &H8000000E&
Caption = "Label2"
Height = 255
Index = 1
Left = 840
TabIndex = 18
Top = 285
Width = 2775
End
Begin VB.Label lblDate
BackColor = &H8000000E&
Caption = "Label2"
Height = 255
Index = 2
Left = 840
TabIndex = 17
Top = 600
Width = 2775
End
Begin VB.Label lblDate
BackColor = &H8000000E&
Caption = "Label6"
ForeColor = &H000000FF&
Height = 255
Index = 3
Left = 840
TabIndex = 16
Top = 840
Width = 2775
End
End
Begin VB.PictureBox Picture2
Appearance = 0 'Flat
BackColor = &H8000000C&
ForeColor = &H80000008&
Height = 495
Left = 0
ScaleHeight = 465
ScaleWidth = 6465
TabIndex = 9
Top = 1440
Width = 6495
Begin VB.Label lblMonth
Alignment = 2 'Center
BackColor = &H00808080&
BeginProperty Font
Name = "宋体"
Size = 21.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1200
TabIndex = 14
Top = 0
Width = 3975
End
Begin VB.Label lblNext
BackColor = &H00808080&
Caption = ">"
BeginProperty Font
Name = "宋体"
Size = 18
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 6120
TabIndex = 13
ToolTipText = "下一月"
Top = 0
Width = 375
End
Begin VB.Label lblNextYear
Alignment = 2 'Center
BackColor = &H00808080&
Caption = "∨"
BeginProperty Font
Name = "宋体"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 405
Left = 5640
TabIndex = 12
ToolTipText = "下一年"
Top = 0
Width = 495
End
Begin VB.Label lblPrevMonth
Alignment = 2 'Center
BackColor = &H8000000C&
Caption = "∧"
BeginProperty Font
Name = "宋体"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 570
Left = 240
TabIndex = 11
ToolTipText = "上一年"
Top = 0
Width = 495
End
Begin VB.Label lblPrev
Alignment = 1 'Right Justify
BackColor = &H00808080&
Caption = "<"
BeginProperty Font
Name = "宋体"
Size = 18
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 0
TabIndex = 10
ToolTipText = "上一月"
Top = 0
Width = 255
End
End
Begin VB.PictureBox Picture1
Appearance = 0 'Flat
BackColor = &H80000005&
ForeColor = &H80000008&
Height = 4935
Left = 0
ScaleHeight = 4905
ScaleWidth = 6465
TabIndex = 0
Top = 1440
Width = 6495
Begin VB.PictureBox picMonth
AutoRedraw = -1 'True
BackColor = &H00FFFFFF&
BorderStyle = 0 'None
ClipControls = 0 'False
Height = 3930
Left = 0
ScaleHeight = 3930
ScaleWidth = 6570
TabIndex = 1
Top = 960
Width = 6570
End
Begin VB.Label lblWeek
Alignment = 2 'Center
BackColor = &H00FFFFFF&
Caption = "星期六"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 255
Index = 6
Left = 5520
TabIndex = 8
Top = 600
Width = 1095
End
Begin VB.Label lblWeek
Alignment = 2 'Center
BackColor = &H00FFFFFF&
Caption = "星期五"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 5
Left = 4560
TabIndex = 7
Top = 600
Width = 1095
End
Begin VB.Label lblWeek
Alignment = 2 'Center
BackColor = &H00FFFFFF&
Caption = "星期四"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 4
Left = 3600
TabIndex = 6
Top = 600
Width = 1095
End
Begin VB.Label lblWeek
Alignment = 2 'Center
BackColor = &H00FFFFFF&
Caption = "星期三"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Index = 3
Left = 2640
TabIndex = 5
Top = 600
Width = 975
End
Begin VB.Label lblWeek
Alignment = 2 'Center
BackColor = &H00FFFFFF&
Caption = "星期二"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Index = 2
Left = 1680
TabIndex = 4
Top = 600
Width = 1095
End
Begin VB.Label lblWeek
Alignment = 2 'Center
BackColor = &H00FFFFFF&
Caption = "星期一"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 1
Left = 840
TabIndex = 3
Top = 600
Width = 975
End
Begin VB.Label lblWeek
Alignment = 2 'Center
BackColor = &H00FFFFFF&
Caption = "星期日"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF00FF&
Height = 255
Index = 0
Left = 0
TabIndex = 2
Top = 600
Width = 855
End
End
Begin VB.Label lblToday
Caption = "节日:"
Height = 255
Index = 3
Left = 0
TabIndex = 27
Top = 1080
Width = 6375
End
Begin VB.Label lblToday
Caption = "干支:"
Height = 255
Index = 2
Left = 0
TabIndex = 26
Top = 720
Width = 6375
End
Begin VB.Label lblToday
Caption = "农历:"
Height = 255
Index = 1
Left = 0
TabIndex = 25
Top = 360
Width = 6375
End
Begin VB.Label lblToday
Caption = "公历:"
Height = 255
Index = 0
Left = 0
TabIndex = 24
Top = 0
Width = 6375
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private tDate As Cls_Date '日历对象
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -