📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
BackColor = &H00808000&
Caption = "DI/DO Demo"
ClientHeight = 3936
ClientLeft = 2016
ClientTop = 1812
ClientWidth = 5844
LinkTopic = "Form1"
ScaleHeight = 3936
ScaleWidth = 5844
Begin VB.Frame Frame3
BackColor = &H00FF8080&
Caption = " Board Setting "
Height = 1092
Left = 3840
TabIndex = 24
Top = 120
Width = 1692
Begin VB.TextBox eTotal
Alignment = 1 'Right Justify
BackColor = &H0000FFFF&
Enabled = 0 'False
Height = 288
Left = 840
TabIndex = 27
Text = "0"
Top = 240
Width = 612
End
Begin VB.TextBox eSelect
Alignment = 1 'Right Justify
BackColor = &H0000FF00&
Height = 288
Left = 840
TabIndex = 25
Text = "0"
Top = 600
Width = 612
End
Begin VB.Label Label3
BackColor = &H00FF8080&
Caption = "Total"
ForeColor = &H00FFFFFF&
Height = 252
Left = 240
TabIndex = 28
Top = 240
Width = 492
End
Begin VB.Label Label1
BackColor = &H00FF8080&
Caption = "Active"
ForeColor = &H00FFFFFF&
Height = 252
Left = 240
TabIndex = 26
Top = 600
Width = 492
End
End
Begin VB.CommandButton Command2
Caption = "Active"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.6
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 372
Left = 4200
TabIndex = 23
Top = 2880
Width = 1332
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 100
Left = 3840
Top = 2520
End
Begin VB.CommandButton Command1
Caption = "&Exit"
BeginProperty Font
Name = "Arial"
Size = 10.8
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 372
Left = 4200
TabIndex = 22
Top = 3360
Width = 1332
End
Begin VB.Frame Frame1
BackColor = &H0080FF80&
Caption = "Digital Output Set"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.6
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1770
Left = 120
TabIndex = 3
Top = 120
Width = 3615
Begin VB.CheckBox vDI
BackColor = &H0080FF80&
Height = 252
Index = 15
Left = 2970
TabIndex = 19
Top = 1155
Width = 252
End
Begin VB.CheckBox vDI
BackColor = &H0080FF80&
Height = 252
Index = 14
Left = 2610
TabIndex = 18
Top = 1155
Width = 252
End
Begin VB.CheckBox vDI
BackColor = &H0080FF80&
Height = 252
Index = 13
Left = 2250
TabIndex = 17
Top = 1155
Width = 252
End
Begin VB.CheckBox vDI
BackColor = &H0080FF80&
Height = 252
Index = 12
Left = 1890
TabIndex = 16
Top = 1155
Width = 252
End
Begin VB.CheckBox vDI
BackColor = &H0080FF80&
Height = 252
Index = 11
Left = 1530
TabIndex = 15
Top = 1155
Width = 252
End
Begin VB.CheckBox vDI
BackColor = &H0080FF80&
Height = 252
Index = 10
Left = 1170
TabIndex = 14
Top = 1155
Width = 252
End
Begin VB.CheckBox vDI
BackColor = &H0080FF80&
Height = 252
Index = 9
Left = 810
TabIndex = 13
Top = 1155
Width = 252
End
Begin VB.CheckBox vDI
BackColor = &H0080FF80&
Height = 252
Index = 8
Left = 450
TabIndex = 12
Top = 1155
Width = 252
End
Begin VB.CheckBox vDI
BackColor = &H0080FF80&
Height = 252
Index = 7
Left = 2970
TabIndex = 11
Top = 525
Width = 252
End
Begin VB.CheckBox vDI
BackColor = &H0080FF80&
Height = 252
Index = 6
Left = 2610
TabIndex = 10
Top = 525
Width = 252
End
Begin VB.CheckBox vDI
BackColor = &H0080FF80&
Height = 252
Index = 5
Left = 2250
TabIndex = 9
Top = 525
Width = 252
End
Begin VB.CheckBox vDI
BackColor = &H0080FF80&
Height = 252
Index = 4
Left = 1890
TabIndex = 8
Top = 525
Width = 252
End
Begin VB.CheckBox vDI
BackColor = &H0080FF80&
Height = 252
Index = 3
Left = 1530
TabIndex = 7
Top = 525
Width = 252
End
Begin VB.CheckBox vDI
BackColor = &H0080FF80&
Height = 252
Index = 2
Left = 1170
TabIndex = 6
Top = 525
Width = 252
End
Begin VB.CheckBox vDI
BackColor = &H0080FF80&
Height = 252
Index = 1
Left = 810
TabIndex = 5
Top = 525
Width = 252
End
Begin VB.CheckBox vDI
BackColor = &H0080FF80&
Height = 228
Index = 0
Left = 450
TabIndex = 4
Top = 525
Width = 348
End
Begin VB.Label Label2
AutoSize = -1 'True
BackColor = &H0080FF80&
Caption = "0 1 2 3 4 5 6 7"
Height = 192
Index = 1
Left = 480
TabIndex = 21
Top = 312
Width = 2580
End
Begin VB.Label Label2
AutoSize = -1 'True
BackColor = &H0080FF80&
Caption = "8 9 A B C D E F"
Height = 192
Index = 3
Left = 480
TabIndex = 20
Top = 948
Width = 2616
End
End
Begin VB.Frame Frame2
BackColor = &H0080FFFF&
Caption = "Digital Input Status"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.6
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1770
Left = 168
TabIndex = 0
Top = 1968
Width = 3570
Begin VB.Shape DI_Shape
BorderColor = &H00000000&
FillStyle = 0 'Solid
Height = 252
Index = 1
Left = 660
Shape = 3 'Circle
Top = 636
Width = 252
End
Begin VB.Shape DI_Shape
BorderColor = &H00000000&
FillStyle = 0 'Solid
Height = 252
Index = 0
Left = 180
Shape = 3 'Circle
Top = 636
Width = 492
End
Begin VB.Shape DI_Shape
BorderColor = &H00000000&
FillColor = &H00808080&
FillStyle = 0 'Solid
Height = 252
Index = 30
Left = 600
Shape = 3 'Circle
Top = 600
Width = 252
End
Begin VB.Shape DI_Shape
BorderColor = &H00000000&
FillColor = &H00808080&
FillStyle = 0 'Solid
Height = 252
Index = 31
Left = 240
Shape = 3 'Circle
Top = 600
Width = 252
End
Begin VB.Shape DI_Shape
BorderColor = &H00000000&
FillStyle = 0 'Solid
Height = 252
Index = 15
Left = 2880
Shape = 3 'Circle
Top = 1296
Width = 252
End
Begin VB.Shape DI_Shape
BorderColor = &H00000000&
FillStyle = 0 'Solid
Height = 252
Index = 14
Left = 2496
Shape = 3 'Circle
Top = 1296
Width = 252
End
Begin VB.Shape DI_Shape
BorderColor = &H00000000&
FillStyle = 0 'Solid
Height = 252
Index = 13
Left = 2136
Shape = 3 'Circle
Top = 1296
Width = 252
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -