📄 hanoi.frm
字号:
VERSION 5.00
Begin VB.Form Hanoi
BackColor = &H80000005&
BorderStyle = 3 'Fester Dialog
Caption = "Towers of Hanoi"
ClientHeight = 3615
ClientLeft = 30
ClientTop = 315
ClientWidth = 10575
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 241
ScaleMode = 3 'Pixel
ScaleWidth = 705
ShowInTaskbar = 0 'False
StartUpPosition = 2 'Bildschirmmitte
Begin VB.PictureBox Picture1
Align = 2 'Unten ausrichten
Height = 735
Left = 0
ScaleHeight = 675
ScaleWidth = 10515
TabIndex = 20
TabStop = 0 'False
Top = 2880
Width = 10575
Begin VB.CommandButton Command2
Cancel = -1 'True
Caption = "Exit"
Height = 330
Left = 3525
TabIndex = 2
Top = 180
Width = 660
End
Begin VB.HScrollBar scrDelay
Height = 240
LargeChange = 10
Left = 5265
Max = 1000
TabIndex = 3
Top = 225
Width = 1215
End
Begin VB.TextBox Text1
Alignment = 1 'Rechts
Height = 285
Left = 1860
MaxLength = 2
TabIndex = 0
Top = 195
Width = 345
End
Begin VB.CommandButton Command1
Caption = "Start"
Default = -1 'True
Height = 330
Left = 2565
TabIndex = 1
Top = 180
Width = 660
End
Begin VB.Label lbl
BackColor = &H00000000&
BackStyle = 0 'Transparent
Caption = "Move"
Height = 195
Index = 0
Left = 8010
TabIndex = 25
Top = 255
Width = 405
End
Begin VB.Label lbl
Alignment = 1 'Rechts
BackColor = &H00000000&
BackStyle = 0 'Transparent
Height = 195
Index = 1
Left = 8475
TabIndex = 24
Top = 255
Width = 450
End
Begin VB.Label lbl
BackColor = &H00000000&
BackStyle = 0 'Transparent
Height = 195
Index = 2
Left = 8985
TabIndex = 23
Top = 255
Width = 720
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "faster slower"
Height = 195
Left = 4785
TabIndex = 22
Top = 240
Width = 2235
End
Begin VB.Label Label2
BackStyle = 0 'Transparent
Caption = "Enter number of disks"
Height = 195
Left = 225
TabIndex = 21
Top = 240
Width = 1530
End
End
Begin VB.PictureBox Disk
Appearance = 0 '2D
BackColor = &H00800080&
ForeColor = &H80000008&
Height = 165
Index = 16
Left = 5220
ScaleHeight = 135
ScaleWidth = 885
TabIndex = 19
TabStop = 0 'False
Top = 225
Visible = 0 'False
Width = 915
End
Begin VB.PictureBox Disk
Appearance = 0 '2D
BackColor = &H00FF00FF&
ForeColor = &H80000008&
Height = 165
Index = 15
Left = 5160
ScaleHeight = 135
ScaleWidth = 1005
TabIndex = 18
TabStop = 0 'False
Top = 375
Visible = 0 'False
Width = 1035
End
Begin VB.PictureBox Disk
Appearance = 0 '2D
BackColor = &H00800000&
ForeColor = &H80000008&
Height = 165
Index = 14
Left = 5100
ScaleHeight = 135
ScaleWidth = 1125
TabIndex = 17
TabStop = 0 'False
Top = 525
Visible = 0 'False
Width = 1155
End
Begin VB.PictureBox Disk
Appearance = 0 '2D
BackColor = &H00FF8080&
ForeColor = &H80000008&
Height = 165
Index = 13
Left = 5040
ScaleHeight = 135
ScaleWidth = 1245
TabIndex = 16
TabStop = 0 'False
Top = 675
Visible = 0 'False
Width = 1275
End
Begin VB.PictureBox Disk
Appearance = 0 '2D
BackColor = &H00808000&
ForeColor = &H80000008&
Height = 165
Index = 12
Left = 4980
ScaleHeight = 135
ScaleWidth = 1365
TabIndex = 15
TabStop = 0 'False
Top = 825
Visible = 0 'False
Width = 1395
End
Begin VB.PictureBox Disk
Appearance = 0 '2D
BackColor = &H00FFFF00&
ForeColor = &H80000008&
Height = 165
Index = 11
Left = 4920
ScaleHeight = 135
ScaleWidth = 1485
TabIndex = 14
TabStop = 0 'False
Top = 975
Visible = 0 'False
Width = 1515
End
Begin VB.PictureBox Disk
Appearance = 0 '2D
BackColor = &H00004080&
ForeColor = &H80000008&
Height = 165
Index = 10
Left = 4860
ScaleHeight = 135
ScaleWidth = 1605
TabIndex = 13
TabStop = 0 'False
Top = 1125
Visible = 0 'False
Width = 1635
End
Begin VB.PictureBox Disk
Appearance = 0 '2D
BackColor = &H000040C0&
ForeColor = &H80000008&
Height = 165
Index = 9
Left = 4800
ScaleHeight = 135
ScaleWidth = 1725
TabIndex = 12
TabStop = 0 'False
Top = 1275
Visible = 0 'False
Width = 1755
End
Begin VB.PictureBox Disk
Appearance = 0 '2D
BackColor = &H000080FF&
ForeColor = &H80000008&
Height = 165
Index = 8
Left = 4740
ScaleHeight = 135
ScaleWidth = 1845
TabIndex = 11
TabStop = 0 'False
Top = 1425
Visible = 0 'False
Width = 1875
End
Begin VB.PictureBox Disk
Appearance = 0 '2D
BackColor = &H00008080&
ForeColor = &H80000008&
Height = 165
Index = 7
Left = 4680
ScaleHeight = 135
ScaleWidth = 1965
TabIndex = 10
TabStop = 0 'False
Top = 1575
Visible = 0 'False
Width = 1995
End
Begin VB.PictureBox Disk
Appearance = 0 '2D
BackColor = &H0000C0C0&
ForeColor = &H80000008&
Height = 165
Index = 6
Left = 4620
ScaleHeight = 135
ScaleWidth = 2085
TabIndex = 9
TabStop = 0 'False
Top = 1725
Visible = 0 'False
Width = 2115
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -