📄 fomcom.frm
字号:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Begin VB.Form Frmcom
Caption = "投影机多串口控制程序"
ClientHeight = 6150
ClientLeft = 60
ClientTop = 630
ClientWidth = 6855
Icon = "Fomcom.frx":0000
LinkTopic = "Form2"
LockControls = -1 'True
MaxButton = 0 'False
ScaleHeight = 6150
ScaleWidth = 6855
StartUpPosition = 2 '屏幕中心
Begin VB.Timer Timer2
Interval = 100
Left = 4905
Top = 135
End
Begin VB.Timer Timer1
Interval = 1000
Left = 630
Top = 135
End
Begin TabDlg.SSTab SSTab1
Height = 5535
Left = 0
TabIndex = 0
Top = 600
Width = 6855
_ExtentX = 12091
_ExtentY = 9763
_Version = 393216
Tabs = 2
TabHeight = 520
TabCaption(0) = "投影机1"
TabPicture(0) = "Fomcom.frx":0442
Tab(0).ControlEnabled= -1 'True
Tab(0).Control(0)= "Label1"
Tab(0).Control(0).Enabled= 0 'False
Tab(0).Control(1)= "Label2"
Tab(0).Control(1).Enabled= 0 'False
Tab(0).Control(2)= "Label7"
Tab(0).Control(2).Enabled= 0 'False
Tab(0).Control(3)= "Line1(0)"
Tab(0).Control(3).Enabled= 0 'False
Tab(0).Control(4)= "Label9"
Tab(0).Control(4).Enabled= 0 'False
Tab(0).Control(5)= "Line3"
Tab(0).Control(5).Enabled= 0 'False
Tab(0).Control(6)= "Label12"
Tab(0).Control(6).Enabled= 0 'False
Tab(0).Control(7)= "Label13"
Tab(0).Control(7).Enabled= 0 'False
Tab(0).Control(8)= "Label15"
Tab(0).Control(8).Enabled= 0 'False
Tab(0).Control(9)= "MSComm1"
Tab(0).Control(9).Enabled= 0 'False
Tab(0).Control(10)= "Command1"
Tab(0).Control(10).Enabled= 0 'False
Tab(0).Control(11)= "Command3"
Tab(0).Control(11).Enabled= 0 'False
Tab(0).Control(12)= "Command5"
Tab(0).Control(12).Enabled= 0 'False
Tab(0).Control(13)= "Frame2"
Tab(0).Control(13).Enabled= 0 'False
Tab(0).Control(14)= "Command7"
Tab(0).Control(14).Enabled= 0 'False
Tab(0).Control(15)= "Command8"
Tab(0).Control(15).Enabled= 0 'False
Tab(0).Control(16)= "Command9"
Tab(0).Control(16).Enabled= 0 'False
Tab(0).Control(17)= "Command10"
Tab(0).Control(17).Enabled= 0 'False
Tab(0).Control(18)= "Command11"
Tab(0).Control(18).Enabled= 0 'False
Tab(0).Control(19)= "Text1"
Tab(0).Control(19).Enabled= 0 'False
Tab(0).ControlCount= 20
TabCaption(1) = "投影机2"
TabPicture(1) = "Fomcom.frx":045E
Tab(1).ControlEnabled= 0 'False
Tab(1).Control(0)= "Label3"
Tab(1).Control(1)= "Label4"
Tab(1).Control(2)= "Label8"
Tab(1).Control(3)= "Line1(1)"
Tab(1).Control(4)= "Label10"
Tab(1).Control(5)= "Line2"
Tab(1).Control(6)= "Label11"
Tab(1).Control(7)= "Label14"
Tab(1).Control(8)= "MSComm2"
Tab(1).Control(9)= "Command2"
Tab(1).Control(10)= "Command4"
Tab(1).Control(11)= "Command6"
Tab(1).Control(12)= "Frame1"
Tab(1).Control(13)= "Command12"
Tab(1).Control(14)= "Command13"
Tab(1).Control(15)= "Command14"
Tab(1).Control(16)= "Command15"
Tab(1).Control(17)= "Command16"
Tab(1).Control(18)= "Text2"
Tab(1).ControlCount= 19
Begin VB.TextBox Text2
Height = 420
Left = -73380
TabIndex = 39
Text = "00"""
Top = 4410
Visible = 0 'False
Width = 1050
End
Begin VB.TextBox Text1
Height = 375
Left = 1710
TabIndex = 38
Text = "00"""
Top = 4410
Visible = 0 'False
Width = 915
End
Begin VB.CommandButton Command16
Caption = "开投影机"
Height = 420
Left = -74820
TabIndex = 36
Top = 3015
Width = 1185
End
Begin VB.CommandButton Command15
Caption = "关投影机"
Height = 420
Left = -73380
TabIndex = 35
Top = 3015
Width = 1185
End
Begin VB.CommandButton Command14
Caption = "电脑输入1"
Height = 420
Left = -74820
TabIndex = 34
Top = 3690
Width = 1185
End
Begin VB.CommandButton Command13
Caption = "电脑输入2"
Height = 420
Left = -73380
TabIndex = 33
Top = 3690
Width = 1185
End
Begin VB.CommandButton Command12
Caption = "视频输入"
Height = 420
Left = -74820
TabIndex = 32
Top = 4410
Width = 1185
End
Begin VB.CommandButton Command11
Caption = "视频输入"
Height = 420
Left = 225
TabIndex = 31
Top = 4410
Width = 1185
End
Begin VB.CommandButton Command10
Caption = "电脑输入2"
Height = 420
Left = 1665
TabIndex = 30
Top = 3690
Width = 1185
End
Begin VB.CommandButton Command9
Caption = "电脑输入1"
Height = 420
Left = 225
TabIndex = 29
Top = 3690
Width = 1185
End
Begin VB.CommandButton Command8
Caption = "关投影机"
Height = 420
Left = 1665
TabIndex = 28
Top = 3015
Width = 1185
End
Begin VB.CommandButton Command7
Caption = "开投影机"
Height = 420
Left = 225
TabIndex = 27
Top = 3015
Width = 1185
End
Begin VB.Frame Frame2
Caption = "定时设置"
Height = 1935
Left = 5310
TabIndex = 18
Top = 600
Width = 1455
Begin VB.OptionButton Option2
Caption = "拒绝定时开关机"
Height = 375
Index = 1
Left = 120
TabIndex = 22
Top = 1080
Width = 1095
End
Begin VB.OptionButton Option2
Caption = "允许定时开关机"
Height = 375
Index = 0
Left = 120
TabIndex = 21
Top = 360
Width = 1095
End
End
Begin VB.Frame Frame1
Caption = "定时设置"
Height = 1935
Left = -69690
TabIndex = 17
Top = 600
Width = 1455
Begin VB.OptionButton Option1
Caption = "拒绝定时开关机"
Height = 375
Index = 1
Left = 120
TabIndex = 20
Top = 1080
Width = 1095
End
Begin VB.OptionButton Option1
Caption = "允许定时开关机"
Height = 375
Index = 0
Left = 120
TabIndex = 19
Top = 360
Width = 1095
End
End
Begin VB.CommandButton Command6
Caption = "定时开关机设置"
Height = 495
Left = -71175
TabIndex = 14
Top = 675
Width = 1335
End
Begin VB.CommandButton Command5
Caption = "定时开关机设置"
Height = 495
Left = 3825
TabIndex = 13
Top = 675
Width = 1335
End
Begin VB.CommandButton Command4
Caption = "连接串口"
Height = 510
Left = -73320
TabIndex = 8
Top = 1035
Width = 1365
End
Begin VB.CommandButton Command3
Caption = "连接串口"
Height = 510
Left = 1680
TabIndex = 7
Top = 1035
Width = 1365
End
Begin VB.CommandButton Command2
Caption = "串口设置"
Height = 510
Left = -74910
TabIndex = 2
Top = 1035
Width = 1365
End
Begin VB.CommandButton Command1
Caption = "串口设置"
Height = 510
Left = 90
TabIndex = 1
Top = 1035
Width = 1365
End
Begin MSCommLib.MSComm MSComm2
Left = -72570
Top = 405
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
DTREnable = -1 'True
End
Begin MSCommLib.MSComm MSComm1
Left = 1395
Top = 450
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
DTREnable = -1 'True
End
Begin VB.Label Label15
Caption = "0"
BeginProperty Font
Name = "宋体"
Size = 26.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1545
Left = 3555
TabIndex = 37
Top = 3060
Width = 2265
End
Begin VB.Label Label14
AutoSize = -1 'True
Caption = "已设定的时间是:"
Height = 180
Left = -71490
TabIndex = 26
Top = 1395
Width = 1440
End
Begin VB.Label Label13
AutoSize = -1 'True
Caption = "已设定的时间是:"
Height = 180
Left = 3510
TabIndex = 25
Top = 1395
Width = 1440
End
Begin VB.Label Label12
AutoSize = -1 'True
Caption = "Label12"
Height = 180
Left = 4500
TabIndex = 24
Top = 1755
Width = 630
End
Begin VB.Line Line3
X1 = 4185
X2 = 4410
Y1 = 1845
Y2 = 1845
End
Begin VB.Label Label11
Caption = "Label11"
Height = 330
Left = -70455
TabIndex = 23
Top = 1755
Width = 600
End
Begin VB.Line Line2
X1 = -70815
X2 = -70590
Y1 = 1845
Y2 = 1845
End
Begin VB.Label Label10
AutoSize = -1 'True
Caption = "Label10"
Height = 180
Left = -71490
TabIndex = 16
Top = 1755
Width = 630
End
Begin VB.Label Label9
AutoSize = -1 'True
Caption = "Label9"
Height = 180
Left = 3510
TabIndex = 15
Top = 1755
Width = 540
End
Begin VB.Line Line1
Index = 1
X1 = -74880
X2 = -68280
Y1 = 2760
Y2 = 2760
End
Begin VB.Line Line1
Index = 0
X1 = 120
X2 = 6720
Y1 = 2760
Y2 = 2760
End
Begin VB.Label Label8
AutoSize = -1 'True
Caption = "Label8"
Height = 180
Left = -74760
TabIndex = 12
Top = 2280
Width = 540
End
Begin VB.Label Label7
AutoSize = -1 'True
Caption = "Label7"
Height = 180
Left = 240
TabIndex = 11
Top = 2280
Width = 540
End
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "Label4"
Height = 180
Left = -74775
TabIndex = 6
Top = 1980
Width = 540
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "串口状态:"
Height = 180
Left = -74775
TabIndex = 5
Top = 1665
Width = 900
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "Label2"
Height = 180
Left = 225
TabIndex = 4
Top = 1980
Width = 540
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "串口状态:"
Height = 180
Left = 225
TabIndex = 3
Top = 1665
Width = 900
End
End
Begin VB.Label Label6
AutoSize = -1 'True
Caption = "电脑时间:"
Height = 180
Left = 1485
TabIndex = 10
Top = 270
Width = 900
End
Begin VB.Label Label5
Caption = "Label5"
BeginProperty Font
Name = "宋体"
Size = 18
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 465
Left = 2745
TabIndex = 9
Top = 90
Width = 1890
End
Begin VB.Menu mnucontrol
Caption = "控制(&c)"
Begin VB.Menu mnuexit
Caption = "退出"
End
End
Begin VB.Menu mnuhelp
Caption = "帮助(&h)"
Begin VB.Menu mnuabout
Caption = "关于本程序"
Shortcut = ^A
End
Begin VB.Menu mnuanswer
Caption = "使用说明及注意事项"
Shortcut = ^S
End
End
End
Attribute VB_Name = "Frmcom"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -