📄 reset.frm
字号:
VERSION 5.00
Begin VB.Form Reset
BorderStyle = 3 'Fixed Dialog
Caption = "Reset"
ClientHeight = 2775
ClientLeft = 45
ClientTop = 330
ClientWidth = 3615
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "Reset.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 2775
ScaleWidth = 3615
ShowInTaskbar = 0 'False
StartUpPosition = 1 'CenterOwner
Begin VB.PictureBox Title
BackColor = &H80000005&
BorderStyle = 0 'None
Height = 615
Left = 0
ScaleHeight = 615
ScaleWidth = 3495
TabIndex = 6
Top = 0
Width = 3495
Begin VB.Line TitleLine
BorderColor = &H00E0E0E0&
Index = 1
X1 = 600
X2 = 1560
Y1 = 495
Y2 = 495
End
Begin VB.Line TitleLine
BorderColor = &H80000015&
Index = 0
X1 = 120
X2 = 1080
Y1 = 480
Y2 = 480
End
Begin VB.Label Label
BackColor = &H80000005&
Caption = "Specify which data you would like to reset."
ForeColor = &H80000008&
Height = 255
Index = 0
Left = 240
TabIndex = 7
Top = 180
Width = 3375
End
End
Begin VB.CheckBox Check
Caption = "Variable names"
Height = 255
Index = 3
Left = 240
TabIndex = 5
Top = 1800
Width = 3135
End
Begin VB.CheckBox Check
Caption = "Output weights"
Height = 255
Index = 2
Left = 240
TabIndex = 4
Top = 1440
Value = 1 'Checked
Width = 3135
End
Begin VB.CheckBox Check
Caption = "Input weights"
Height = 255
Index = 1
Left = 240
TabIndex = 3
Top = 1080
Value = 1 'Checked
Width = 3135
End
Begin VB.CheckBox Check
Caption = "Perceptron thresholds"
Height = 255
Index = 0
Left = 240
TabIndex = 2
Top = 720
Value = 1 'Checked
Width = 3135
End
Begin VB.CommandButton Command
Caption = "OK"
Default = -1 'True
Height = 375
Index = 0
Left = 120
TabIndex = 0
Top = 2280
Width = 1575
End
Begin VB.CommandButton Command
Cancel = -1 'True
Caption = "Cancel"
Height = 375
Index = 1
Left = 1920
TabIndex = 1
Top = 2280
Width = 1575
End
End
Attribute VB_Name = "Reset"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Canceled As Boolean
Private Sub Command_Click(Index As Integer)
Select Case Index
Case 0:
Canceled = False
Case 1:
Canceled = True
End Select
Me.Hide
End Sub
Public Function Extract(ByRef reset1 As Boolean, ByRef reset2 As Boolean, ByRef reset3 As Boolean, ByRef reset4 As Boolean) As Boolean
If Canceled Then
reset1 = False
reset2 = False
reset3 = False
reset4 = False
Else
reset1 = (Check(0).Value = 1)
reset2 = (Check(1).Value = 1)
reset3 = (Check(2).Value = 1)
reset4 = (Check(3).Value = 1)
End If
Unload Me
Extract = Not Canceled
End Function
Private Sub Form_Load()
Canceled = True
End Sub
Private Sub Form_Resize()
Title.Width = Me.ScaleWidth
TitleLine(0).X1 = 0
TitleLine(0).X2 = Me.ScaleWidth
TitleLine(0).Y1 = Title.Height - 30
TitleLine(0).Y2 = Title.Height - 30
TitleLine(1).X1 = 0
TitleLine(1).X2 = Me.ScaleWidth
TitleLine(1).Y1 = Title.Height - 15
TitleLine(1).Y2 = Title.Height - 15
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -