?? lucy.frm
字號:
VERSION 5.00
Begin VB.Form Form1
Caption = "Lucy的難題"
ClientHeight = 5385
ClientLeft = 60
ClientTop = 345
ClientWidth = 8130
LinkTopic = "Form1"
ScaleHeight = 5385
ScaleWidth = 8130
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox TxtS
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 6600
Locked = -1 'True
TabIndex = 8
Top = 4800
Width = 1335
End
Begin VB.TextBox TxtB
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2520
MaxLength = 9
TabIndex = 4
Top = 4800
Width = 1215
End
Begin VB.TextBox TxtA
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 600
MaxLength = 9
TabIndex = 3
Top = 4800
Width = 1215
End
Begin VB.CommandButton Command1
BackColor = &H0080C0FF&
Caption = "計算"
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 3960
Style = 1 'Graphical
TabIndex = 0
Top = 4800
Width = 975
End
Begin VB.Label Label6
BackColor = &H00C0E0FF&
Caption = $"Lucy.frx":0000
Height = 1455
Left = 240
TabIndex = 9
Top = 3120
Width = 7695
End
Begin VB.Label Label5
Alignment = 2 'Center
BackColor = &H0080FFFF&
Caption = "S的反轉數"
BeginProperty Font
Name = "宋體"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 5040
TabIndex = 7
Top = 4800
Width = 1455
End
Begin VB.Label Label4
Alignment = 2 'Center
BackColor = &H0080FFFF&
Caption = "B"
BeginProperty Font
Name = "宋體"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2040
TabIndex = 6
Top = 4800
Width = 375
End
Begin VB.Label Label3
Alignment = 2 'Center
BackColor = &H00FFC0FF&
Caption = "第二屆""我為程序狂""南開大學程序設計競賽 (NKPC2)比賽試題(1)"
BeginProperty Font
Name = "宋體"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 240
TabIndex = 5
Top = 120
Width = 7695
End
Begin VB.Label Label2
Alignment = 2 'Center
BackColor = &H0080FFFF&
Caption = "A"
BeginProperty Font
Name = "宋體"
Size = 15
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 120
TabIndex = 2
Top = 4800
Width = 375
End
Begin VB.Label Label1
BackColor = &H00FFFF80&
Caption = $"Lucy.frx":0108
Height = 2535
Left = 240
TabIndex = 1
Top = 480
Width = 7695
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 Not IsNumeric(TxtA.Text) Or Not IsNumeric(TxtB.Text) Then TxtS.Text = "請輸入數字": Exit Sub
TxtS.Text = CStr(Val(StrReverse(Format(Val(StrReverse(TxtA.Text)) + Val(StrReverse(TxtB.Text))))))
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -