?? cale.frm
字號:
VERSION 5.00
Object = "{8E27C92E-1264-101C-8A2F-040224009C02}#7.0#0"; "MSCAL.OCX"
Begin VB.Form Form1
Caption = "萬年歷"
ClientHeight = 4710
ClientLeft = 60
ClientTop = 345
ClientWidth = 4800
LinkTopic = "Form1"
ScaleHeight = 4710
ScaleWidth = 4800
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command2
Caption = "退出"
Height = 495
Left = 2400
TabIndex = 8
Top = 3960
Width = 975
End
Begin VB.CommandButton Command1
Caption = "確定"
Height = 495
Left = 960
TabIndex = 7
Top = 3960
Width = 975
End
Begin VB.TextBox Text3
Height = 375
Left = 2880
TabIndex = 5
Top = 240
Width = 495
End
Begin VB.TextBox Text2
Height = 375
Left = 2040
TabIndex = 3
Top = 240
Width = 495
End
Begin VB.TextBox Text1
Height = 375
Left = 960
TabIndex = 2
Top = 240
Width = 735
End
Begin MSACAL.Calendar Calendar1
Height = 2895
Left = 120
TabIndex = 0
Top = 840
Width = 4335
_Version = 524288
_ExtentX = 7646
_ExtentY = 5106
_StockProps = 1
BackColor = -2147483633
Year = 2004
Month = 2
Day = 3
DayLength = 0
MonthLength = 0
DayFontColor = 0
FirstDay = 1
GridCellEffect = 1
GridFontColor = 10485760
GridLinesColor = -2147483632
ShowDateSelectors= -1 'True
ShowDays = -1 'True
ShowHorizontalGrid= -1 'True
ShowTitle = -1 'True
ShowVerticalGrid= -1 'True
TitleFontColor = 10485760
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
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "日"
Height = 180
Left = 3480
TabIndex = 6
Top = 330
Width = 180
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "月"
Height = 180
Left = 2640
TabIndex = 4
Top = 330
Width = 180
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "年"
Height = 180
Left = 1800
TabIndex = 1
Top = 330
Width = 180
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()
If Text1.Text <> "" Then
nyear = CDbl(Text1.Text)
End If
If Text2.Text <> "" Then
nmonth = CDbl(Text2.Text)
End If
If Text3.Text <> "" Then
nday = CDbl(Text3.Text)
End If
Calendar1.Year = nyear
Calendar1.Month = nmonth
Calendar1.Day = nday
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -