📄 main.frm
字号:
VERSION 5.00
Begin VB.Form Form1
BorderStyle = 1 'Fixed Single
Caption = "K-nearest-neighbor algorithm"
ClientHeight = 6630
ClientLeft = 45
ClientTop = 330
ClientWidth = 11160
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 442
ScaleMode = 3 'Pixel
ScaleWidth = 744
StartUpPosition = 3 'Windows Default
Begin VB.TextBox Info
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 6375
Left = 6960
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 9
Top = 120
Width = 4095
End
Begin VB.PictureBox ButtonBox
Height = 2460
Left = 120
ScaleHeight = 160
ScaleMode = 3 'Pixel
ScaleWidth = 445
TabIndex = 1
Top = 3720
Width = 6735
Begin VB.ComboBox ComboNeighbors
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Left = 4800
Style = 2 'Dropdown List
TabIndex = 15
Top = 1995
Width = 1350
End
Begin VB.CheckBox Check2
Caption = "Rescale distances"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 2880
TabIndex = 8
Top = 2040
Width = 1935
End
Begin VB.ComboBox Combo
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Index = 3
Left = 5220
Style = 2 'Dropdown List
TabIndex = 14
Top = 1110
Width = 930
End
Begin VB.ComboBox Combo
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Index = 2
Left = 4230
Style = 2 'Dropdown List
TabIndex = 13
Top = 1110
Width = 960
End
Begin VB.ComboBox Combo
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Index = 1
Left = 3420
Style = 2 'Dropdown List
TabIndex = 12
Top = 1110
Width = 780
End
Begin VB.ComboBox Combo
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Index = 0
Left = 2280
Style = 2 'Dropdown List
TabIndex = 11
Top = 1110
Width = 1110
End
Begin VB.CommandButton Command4
Caption = "Feature Selection"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 120
TabIndex = 10
Top = 1560
Width = 2055
End
Begin VB.CheckBox Check1
Caption = "Euclidean distance measuring"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 120
TabIndex = 7
Top = 2040
Value = 1 'Checked
Width = 2775
End
Begin VB.CommandButton Command3
Caption = "Evaluate Custom"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 120
TabIndex = 4
Top = 1080
Width = 2055
End
Begin VB.CommandButton Command2
Caption = "Evaluate Situation2"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 120
TabIndex = 3
Top = 600
Width = 2055
End
Begin VB.CommandButton Command1
Caption = "Evaluate Situation1"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 120
TabIndex = 2
Top = 120
Width = 2055
End
Begin VB.Label Label2
Caption = "Situation2 undefined"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 2280
TabIndex = 6
Top = 660
Width = 4215
End
Begin VB.Label Label1
Caption = "Situation1 undefined"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -