📄 form2.frm
字号:
VERSION 5.00
Begin VB.Form Form2
Caption = "no use"
ClientHeight = 2715
ClientLeft = 60
ClientTop = 345
ClientWidth = 4725
ControlBox = 0 'False
LinkTopic = "Form2"
ScaleHeight = 2715
ScaleWidth = 4725
StartUpPosition = 2 'CenterScreen
Begin VB.TextBox Text1
Height = 375
Left = 3360
TabIndex = 3
Text = "Text1"
Top = 1800
Width = 735
End
Begin VB.CommandButton Command1
Caption = "确定"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1680
TabIndex = 2
Top = 1800
Width = 975
End
Begin VB.ComboBox Combo1
Height = 300
Left = 600
TabIndex = 0
Top = 1080
Width = 3495
End
Begin VB.Label Label1
Caption = "神经元的传递函数"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 1320
TabIndex = 1
Top = 600
Width = 2055
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
FunctionNum = Combo1.ListIndex
Unload Me
Form1.Show
End Sub
Private Sub Form_Load()
Dim i As Integer, n As Integer
i = Combo1.ListIndex
Set FunctionX = New FunctionDLL.TrainF
' n = FunctionX.GetNum
' For i = 0 To n - 1
' Combo1.AddItem FunctionX.FunctionX(i)
' Next i
' Combo1.Text = Combo1.List(0)
' Combo1.ListIndex = 0
End Sub
Private Sub Text1_KeyPress(KeyAscii As Integer)
Text1.Text = KeyAscii
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -