📄 counter_form.frm
字号:
VERSION 5.00
Object = "{6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.3#0"; "comctl32.ocx"
Begin VB.Form Counter_Form
Caption = "定时计数器3路"
ClientHeight = 9330
ClientLeft = 60
ClientTop = 630
ClientWidth = 13710
Icon = "Counter_Form.frx":0000
LinkTopic = "Form1"
MDIChild = -1 'True
ScaleHeight = 622
ScaleMode = 3 'Pixel
ScaleWidth = 914
WindowState = 2 'Maximized
Begin ComctlLib.ListView ListView1
CausesValidation= 0 'False
Height = 6615
Left = 480
TabIndex = 29
TabStop = 0 'False
Top = 1440
Width = 6855
_ExtentX = 12091
_ExtentY = 11668
View = 3
LabelWrap = -1 'True
HideSelection = -1 'True
_Version = 327682
ForeColor = -2147483640
BackColor = -2147483643
BorderStyle = 1
Appearance = 0
NumItems = 0
End
Begin VB.Timer CounterTimer
Enabled = 0 'False
Interval = 200
Left = 120
Top = 8400
End
Begin VB.CheckBox Check1
Caption = "自动读取计数器"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 2880
Style = 1 'Graphical
TabIndex = 31
Top = 480
Width = 2055
End
Begin VB.CommandButton Comman_Clear
Caption = "清空列表"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 2880
TabIndex = 30
Top = 8280
Width = 2055
End
Begin VB.CommandButton Command_HandRead
Caption = "手动读取计数器"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 5280
TabIndex = 28
Top = 480
Width = 2055
End
Begin VB.CommandButton Command_InitDevice
Caption = "初始化设备"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 480
TabIndex = 27
Top = 480
Width = 2055
End
Begin VB.Frame CLK2
Caption = "设定CLK2"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 2655
Left = 7800
TabIndex = 2
Top = 6240
Width = 4815
Begin VB.TextBox Text1
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Index = 2
Left = 1560
TabIndex = 26
Text = "30"
Top = 2120
Width = 3015
End
Begin VB.ComboBox BCD
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 360
Index = 2
ItemData = "Counter_Form.frx":0CCA
Left = 1560
List = "Counter_Form.frx":0CD4
Style = 2 'Dropdown List
TabIndex = 23
Top = 1560
Width = 3015
End
Begin VB.ComboBox CountMode
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 360
Index = 2
ItemData = "Counter_Form.frx":0CF1
Left = 1560
List = "Counter_Form.frx":0D07
Style = 2 'Dropdown List
TabIndex = 20
Top = 960
Width = 3015
End
Begin VB.ComboBox OperateType
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 360
Index = 2
ItemData = "Counter_Form.frx":0D87
Left = 1560
List = "Counter_Form.frx":0D97
Style = 2 'Dropdown List
TabIndex = 17
Top = 420
Width = 3015
End
Begin VB.Label Label4
Caption = "计数器值:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Index = 2
Left = 240
TabIndex = 14
Top = 2160
Width = 1215
End
Begin VB.Label Label3
Caption = "计数类型:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 2
Left = 240
TabIndex = 11
Top = 1605
Width = 1215
End
Begin VB.Label Label2
Caption = "计数方式:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 2
Left = 240
TabIndex = 8
Top = 1035
Width = 1215
End
Begin VB.Label Label1
Caption = "操作类型:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 2
Left = 240
TabIndex = 5
Top = 480
Width = 1215
End
End
Begin VB.Frame CLK1
Caption = "设定CLK1"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 2655
Left = 7800
TabIndex = 1
Top = 3240
Width = 4815
Begin VB.TextBox Text1
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Index = 1
Left = 1560
TabIndex = 25
Text = "20"
Top = 2060
Width = 3015
End
Begin VB.ComboBox BCD
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 360
Index = 1
ItemData = "Counter_Form.frx":0DE6
Left = 1560
List = "Counter_Form.frx":0DF0
Style = 2 'Dropdown List
TabIndex = 22
Top = 1560
Width = 3015
End
Begin VB.ComboBox CountMode
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 360
Index = 1
ItemData = "Counter_Form.frx":0E0D
Left = 1560
List = "Counter_Form.frx":0E23
Style = 2 'Dropdown List
TabIndex = 19
Top = 960
Width = 3015
End
Begin VB.ComboBox OperateType
BeginProperty Font
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -