?? 012.frm
字號:
VERSION 5.00
Begin VB.Form Form1
Caption = "求1!+2!+3!....+10!"
ClientHeight = 3090
ClientLeft = 60
ClientTop = 450
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3090
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
BackColor = &H000000FF&
Caption = "計 算"
BeginProperty Font
Name = "宋體"
Size = 24
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 855
Left = 1200
TabIndex = 1
Top = 1800
Width = 2175
End
Begin VB.TextBox Text1
BackColor = &H008080FF&
BeginProperty Font
Name = "宋體"
Size = 36
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 975
Left = 720
TabIndex = 0
Top = 240
Width = 3375
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()
Dim s As Long, x As Long
x = 1
For i = 1 To 10 Step 1
x = x * i
s = s + x
Next
Text1.Text = s
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -