📄 prepare.frm
字号:
VERSION 5.00
Begin VB.Form prepare
Caption = "Form1"
ClientHeight = 4500
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 4500
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command2
Caption = "退出"
Height = 495
Left = 3720
TabIndex = 11
Top = 1200
Width = 855
End
Begin VB.CommandButton Command1
Caption = "确定"
Height = 495
Left = 3720
TabIndex = 10
Top = 360
Width = 855
End
Begin VB.Frame Frame1
Caption = "参数设置"
Height = 3375
Left = 240
TabIndex = 0
Top = 240
Width = 3015
Begin VB.TextBox Text5
Height = 375
Left = 1680
TabIndex = 13
Text = "100"
Top = 2760
Width = 735
End
Begin VB.TextBox Text4
Height = 375
Left = 1680
TabIndex = 8
Text = "3"
Top = 2160
Width = 735
End
Begin VB.TextBox Text3
Height = 375
Left = 1680
TabIndex = 6
Text = "5"
Top = 1560
Width = 735
End
Begin VB.TextBox Text2
Height = 375
Left = 1680
TabIndex = 4
Text = "15"
Top = 960
Width = 735
End
Begin VB.TextBox Text1
Height = 375
Left = 1680
TabIndex = 2
Text = "2"
Top = 360
Width = 735
End
Begin VB.Label Label6
Caption = "学习次数"
Height = 375
Left = 120
TabIndex = 12
Top = 2760
Width = 975
End
Begin VB.Label Label5
Caption = "列"
Height = 255
Left = 2520
TabIndex = 9
Top = 2160
Width = 255
End
Begin VB.Label Label4
Caption = "行"
Height = 255
Left = 2520
TabIndex = 7
Top = 1680
Width = 255
End
Begin VB.Label Label3
Caption = "排列方式"
Height = 375
Left = 240
TabIndex = 5
Top = 1560
Width = 855
End
Begin VB.Label Label2
Caption = "神经元数"
Height = 375
Left = 240
TabIndex = 3
Top = 960
Width = 855
End
Begin VB.Label Label1
Caption = "模式数"
Height = 375
Left = 240
TabIndex = 1
Top = 480
Width = 615
End
End
End
Attribute VB_Name = "prepare"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public patternnumber As Integer '模式数
Public neuralnumber As Integer '神经元数
Public rownumber As Integer '行
Public linenumber As Integer '列
Public learnnumber As Integer '学习次数
Private Sub Command1_Click()
patternnumber = Text1.Text
neuralnumber = Text2.Text
rownumber = Text3.Text
linenumber = Text4.Text
learnnumber = Text5.Text
process.Show
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -