📄 buttonslights.frm
字号:
VERSION 5.00
Begin VB.Form DisplayWindow
BackColor = &H00FF8080&
Caption = "USB Design By Example: Buttons and Lights"
ClientHeight = 5595
ClientLeft = 60
ClientTop = 345
ClientWidth = 8475
LinkTopic = "Form1"
ScaleHeight = 5595
ScaleWidth = 8475
StartUpPosition = 3 'Windows Default
Begin VB.TextBox RealLEDValue
BeginProperty Font
Name = "MS Sans Serif"
Size = 13.5
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 600
TabIndex = 16
Text = "Text1"
Top = 1080
Width = 615
End
Begin VB.ComboBox SelectFunction
BeginProperty Font
Name = "Arial Rounded MT Bold"
Size = 20.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 600
ItemData = "ButtonsLights.frx":0000
Left = 3120
List = "ButtonsLights.frx":0013
TabIndex = 0
Text = "A only"
Top = 2280
Width = 2175
End
Begin VB.CommandButton SoftButton
Appearance = 0 'Flat
BackColor = &H00808080&
CausesValidation= 0 'False
Height = 495
Index = 1
Left = 840
MaskColor = &H00FFFFFF&
TabIndex = 9
Top = 3720
Width = 255
End
Begin VB.CommandButton SoftButton
Appearance = 0 'Flat
BackColor = &H00808080&
CausesValidation= 0 'False
Height = 495
Index = 2
Left = 1200
MaskColor = &H00FFFFFF&
TabIndex = 10
Top = 3720
Width = 255
End
Begin VB.CommandButton SoftButton
Appearance = 0 'Flat
BackColor = &H00808080&
CausesValidation= 0 'False
Height = 495
Index = 3
Left = 1560
MaskColor = &H00FFFFFF&
TabIndex = 11
Top = 3720
Width = 255
End
Begin VB.CommandButton SoftButton
Appearance = 0 'Flat
BackColor = &H00808080&
CausesValidation= 0 'False
Height = 495
Index = 4
Left = 1920
MaskColor = &H00FFFFFF&
TabIndex = 12
Top = 3720
Width = 255
End
Begin VB.CommandButton SoftButton
Appearance = 0 'Flat
BackColor = &H00808080&
CausesValidation= 0 'False
Height = 495
Index = 5
Left = 2280
MaskColor = &H00FFFFFF&
TabIndex = 13
Top = 3720
Width = 255
End
Begin VB.CommandButton SoftButton
Appearance = 0 'Flat
BackColor = &H00808080&
CausesValidation= 0 'False
Height = 495
Index = 6
Left = 2640
MaskColor = &H00FFFFFF&
TabIndex = 14
Top = 3720
Width = 255
End
Begin VB.CommandButton SoftButton
Appearance = 0 'Flat
BackColor = &H00808080&
CausesValidation= 0 'False
Height = 495
Index = 7
Left = 3000
MaskColor = &H00FFFFFF&
TabIndex = 15
Top = 3720
Width = 255
End
Begin VB.CommandButton SoftButton
Appearance = 0 'Flat
BackColor = &H00808080&
CausesValidation= 0 'False
Height = 495
Index = 0
Left = 480
MaskColor = &H00FFFFFF&
TabIndex = 8
Top = 3720
Width = 255
End
Begin VB.Timer Timer1
Interval = 200
Left = 7440
Top = 1080
End
Begin VB.Shape RealButton
FillColor = &H00C0C0C0&
FillStyle = 0 'Solid
Height = 495
Index = 6
Left = 7320
Top = 3720
Width = 255
End
Begin VB.Shape RealButton
FillColor = &H00C0C0C0&
FillStyle = 0 'Solid
Height = 495
Index = 5
Left = 6960
Top = 3720
Width = 255
End
Begin VB.Shape RealButton
FillColor = &H00C0C0C0&
FillStyle = 0 'Solid
Height = 495
Index = 4
Left = 6600
Top = 3720
Width = 255
End
Begin VB.Shape RealButton
FillColor = &H00C0C0C0&
FillStyle = 0 'Solid
Height = 495
Index = 3
Left = 6240
Top = 3720
Width = 255
End
Begin VB.Shape RealButton
FillColor = &H00C0C0C0&
FillStyle = 0 'Solid
Height = 495
Index = 2
Left = 5880
Top = 3720
Width = 255
End
Begin VB.Shape RealButton
FillColor = &H00C0C0C0&
FillStyle = 0 'Solid
Height = 495
Index = 1
Left = 5520
Top = 3720
Width = 255
End
Begin VB.Shape RealButton
FillColor = &H00C0C0C0&
FillStyle = 0 'Solid
Height = 495
Index = 0
Left = 5160
Top = 3720
Width = 255
End
Begin VB.Shape RealButton
FillColor = &H00C0C0C0&
FillStyle = 0 'Solid
Height = 495
Index = 7
Left = 7680
Top = 3720
Width = 255
End
Begin VB.Shape SoftOFF
FillStyle = 0 'Solid
Height = 735
Index = 0
Left = 480
Top = 3720
Width = 255
End
Begin VB.Label Label7
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "1"
BeginProperty Font
Name = "Arial Rounded MT Bold"
Size = 15.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 495
Left = 4560
TabIndex = 7
Top = 3600
Width = 495
End
Begin VB.Label Label6
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "0"
BeginProperty Font
Name = "Arial Rounded MT Bold"
Size = 15.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 495
Left = 4560
TabIndex = 6
Top = 4200
Width = 495
End
Begin VB.Label Label5
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "0"
BeginProperty Font
Name = "Arial Rounded MT Bold"
Size = 15.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 495
Left = 3360
TabIndex = 5
Top = 4200
Width = 495
End
Begin VB.Label Label4
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "1"
BeginProperty Font
Name = "Arial Rounded MT Bold"
Size = 15.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 495
Left = 3360
TabIndex = 4
Top = 3600
Width = 495
End
Begin VB.Label Label3
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "Lights"
BeginProperty Font
Name = "Arial Rounded MT Bold"
Size = 15.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 495
Left = 2880
TabIndex = 3
Top = 360
Width = 2895
End
Begin VB.Line Line4
X1 = 4320
X2 = 4320
Y1 = 1800
Y2 = 2280
End
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -