📄 form1.frm
字号:
VERSION 5.00
Object = "{ABDBC15D-90F6-4DE8-89BA-460F9CB03411}#7.0#0"; "GoldSealCanlendar.ocx"
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 6510
ClientLeft = 60
ClientTop = 345
ClientWidth = 7800
LinkTopic = "Form1"
ScaleHeight = 434
ScaleMode = 3 'Pixel
ScaleWidth = 520
StartUpPosition = 3 'Windows Default
Begin GoldSealCalendar.GScalendar GScalendar1
Height = 5730
Left = 135
TabIndex = 5
Top = 90
Width = 7395
_extentx = 13044
_extenty = 10107
cellwidth = 69.286
cellheight = 59.833
End
Begin VB.CommandButton Command5
Caption = "Command5"
Height = 330
Left = 855
TabIndex = 4
Top = 6030
Width = 1050
End
Begin VB.CommandButton Command4
Caption = "Command4"
Height = 375
Left = 6570
TabIndex = 3
Top = 6030
Width = 1050
End
Begin VB.CommandButton Command3
Caption = "Command3"
Height = 375
Left = 5220
TabIndex = 2
Top = 6030
Width = 1050
End
Begin VB.CommandButton Command2
Caption = "Command2"
Height = 375
Left = 3825
TabIndex = 1
Top = 6030
Width = 1050
End
Begin VB.CommandButton Command1
Caption = "改变月"
Height = 375
Left = 2070
TabIndex = 0
Top = 6030
Width = 1050
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()
GScalendar1.Month = 12
End Sub
Private Sub Command2_Click()
GScalendar1.Month = 10
End Sub
Private Sub Command3_Click()
GScalendar1.Year = 2004
End Sub
Private Sub GScalendar1_Click()
MsgBox "Click"
End Sub
Private Sub Command4_Click()
Label1.Move GScalendar1.DayUnit(18).Dleft, GScalendar1.DayUnit(18).Dtop, GScalendar1.cellwidth
End Sub
Private Sub Command5_Click()
GScalendar1.Now = "2003-3-25"
End Sub
Private Sub GScalendar1_DayChange()
MsgBox "Day Change"
End Sub
Private Sub GScalendar1_MonthChange()
MsgBox "Month Change"
End Sub
Private Sub GScalendar1_RightClick()
MsgBox GScalendar1.Day
End Sub
Private Sub GScalendar1_YearChange()
MsgBox "Year Change"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -