📄 frmstart.frm
字号:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MsComCtl.ocx"
Begin VB.Form frmStart
BorderStyle = 1 'Fixed Single
Caption = "短消息发送器 V1.0"
ClientHeight = 7050
ClientLeft = 45
ClientTop = 330
ClientWidth = 10935
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "frmStart.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 7050
ScaleWidth = 10935
StartUpPosition = 2 'CenterScreen
Begin VB.Frame FrameInfo
Caption = "发送信息"
Height = 5055
Left = 120
TabIndex = 14
Top = 1440
Width = 10695
Begin VB.CommandButton cmdRead
Caption = "读取"
Enabled = 0 'False
Height = 285
Left = 4680
TabIndex = 26
Top = 3240
Width = 615
End
Begin VB.CheckBox chkDebug
Caption = "调试"
Height = 285
Left = 120
TabIndex = 21
Top = 240
Value = 1 'Checked
Width = 735
End
Begin VB.TextBox txtCenterNumber
Appearance = 0 'Flat
Height = 285
Left = 2160
TabIndex = 20
Top = 3240
Width = 2415
End
Begin VB.TextBox txtMsg
Appearance = 0 'Flat
BeginProperty Font
Name = "宋体"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1995
Left = 6720
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 19
Top = 2880
Width = 3795
End
Begin VB.CommandButton cmdSend
Caption = "发送"
Enabled = 0 'False
Height = 375
Left = 5700
TabIndex = 18
Top = 3480
Width = 975
End
Begin VB.TextBox txtPhoneNumber
Appearance = 0 'Flat
Height = 285
Left = 2160
TabIndex = 17
Top = 2880
Width = 2415
End
Begin VB.PictureBox picDebug
Appearance = 0 'Flat
BeginProperty Font
Name = "Tahoma"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 2175
Left = 120
ScaleHeight = 2145
ScaleWidth = 10425
TabIndex = 15
Top = 560
Width = 10455
Begin VB.ListBox LstState
Appearance = 0 'Flat
ForeColor = &H00FF0000&
Height = 2010
Left = 60
TabIndex = 16
Top = 75
Width = 10275
End
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "手机号码:"
Height = 180
Index = 4
Left = 1335
TabIndex = 25
Top = 2880
Width = 810
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "短消息内容: "
Height = 180
Index = 1
Left = 5715
TabIndex = 24
Top = 2880
Width = 1080
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "信息中心号码: "
Height = 180
Index = 5
Left = 975
TabIndex = 23
Top = 3240
Width = 1260
End
Begin VB.Label LabText
AutoSize = -1 'True
Caption = "字数:0/70"
Height = 180
Left = 5760
TabIndex = 22
Top = 3120
Width = 810
End
End
Begin MSComctlLib.StatusBar StatusMsg
Align = 2 'Align Bottom
Height = 495
Left = 0
TabIndex = 13
Top = 6555
Width = 10935
_ExtentX = 19288
_ExtentY = 873
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 3
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 6
Alignment = 1
AutoSize = 2
TextSave = "2006-4-23"
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 5
Alignment = 1
AutoSize = 2
TextSave = "19:25"
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Alignment = 2
AutoSize = 1
Object.Width = 14102
EndProperty
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Frame FrameMsg
Caption = "手机信息"
Height = 1215
Left = 3960
TabIndex = 6
Top = 120
Width = 3735
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "运营服务商: "
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Index = 0
Left = 240
TabIndex = 12
Top = 900
Width = 990
End
Begin VB.Label lblProvider
Alignment = 1 'Right Justify
Appearance = 0 'Flat
BorderStyle = 1 'Fixed Single
ForeColor = &H00FF0000&
Height = 255
Left = 1200
TabIndex = 11
Top = 840
Width = 2295
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "手机型号:"
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Index = 2
Left = 240
TabIndex = 10
Top = 300
Width = 765
End
Begin VB.Label lblDevType
Alignment = 1 'Right Justify
Appearance = 0 'Flat
BorderStyle = 1 'Fixed Single
ForeColor = &H00FF0000&
Height = 255
Left = 1200
TabIndex = 9
Top = 240
Width = 2295
End
Begin VB.Label lblManufacturer
Alignment = 1 'Right Justify
Appearance = 0 'Flat
BorderStyle = 1 'Fixed Single
ForeColor = &H00FF0000&
Height = 255
Left = 1200
TabIndex = 8
Top = 540
Width = 2295
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "制造商: "
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 195
Index = 3
Left = 240
TabIndex = 7
Top = 600
Width = 630
End
End
Begin VB.Frame FrameComm
Caption = "通讯设置"
Height = 1215
Left = 120
TabIndex = 1
Top = 120
Width = 2415
Begin VB.ComboBox cmbPorts
Appearance = 0 'Flat
ForeColor = &H00FF0000&
Height = 300
Left = 960
Style = 2 'Dropdown List
TabIndex = 3
Top = 240
Width = 1215
End
Begin VB.ComboBox cmbBaudrate
Appearance = 0 'Flat
ForeColor = &H00FF0000&
Height = 300
ItemData = "frmStart.frx":030A
Left = 960
List = "frmStart.frx":031A
Style = 2 'Dropdown List
TabIndex = 2
Top = 720
Width = 1215
End
Begin VB.Label Label2
Alignment = 1 'Right Justify
AutoSize = -1 'True
Caption = "端口号: "
Height = 180
Left = 270
TabIndex = 5
Top = 285
Width = 720
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "波特率:"
Height = 180
Left = 240
TabIndex = 4
Top = 765
Width = 630
End
End
Begin VB.CommandButton cmdConnect
Caption = "连接"
Height = 435
Left = 2640
TabIndex = 0
Top = 840
Width = 1215
End
Begin MSCommLib.MSComm MSComm1
Left = 3720
Top = 600
_ExtentX = 1005
_ExtentY = 1005
_Version = 393216
DTREnable = -1 'True
End
End
Attribute VB_Name = "frmStart"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -