📄 sms.vb.bak
字号:
Option Strict Off
Option Explicit On
Friend Class mainsms
Inherits System.Windows.Forms.Form
#Region "Windows 窗体设计器生成的代码"
Public Sub New()
MyBase.New()
If m_vb6FormDefInstance Is Nothing Then
If m_InitializingDefInstance Then
m_vb6FormDefInstance = Me
Else
Try
'对于启动窗体,所创建的第一个实例为默认实例。
If System.Reflection.Assembly.GetExecutingAssembly.EntryPoint.DeclaringType Is Me.GetType Then
m_vb6FormDefInstance = Me
End If
Catch
End Try
End If
End If
'此调用是 Windows 窗体设计器所必需的。
InitializeComponent()
End Sub
'窗体重写处置,以清理组件列表。
Protected Overloads Overrides Sub Dispose(ByVal Disposing As Boolean)
If Disposing Then
If Not components Is Nothing Then
components.Dispose()
End If
End If
MyBase.Dispose(Disposing)
End Sub
'Windows 窗体设计器所必需的
Private components As System.ComponentModel.IContainer
Public ToolTip1 As System.Windows.Forms.ToolTip
Public WithEvents MobPort As System.Windows.Forms.TextBox
Public WithEvents Sms_Start_Button As System.Windows.Forms.Button
Public WithEvents NewSms_Timer As System.Windows.Forms.Timer
Public WithEvents Sms_Close_Button As System.Windows.Forms.Button
Public WithEvents NewSms_Show As System.Windows.Forms.Label
Public WithEvents Frame5 As System.Windows.Forms.GroupBox
Public WithEvents Sms_Exit_Button As System.Windows.Forms.Button
Public WithEvents Sms_Delete_Button As System.Windows.Forms.Button
Public WithEvents DeleteSms_Index As System.Windows.Forms.TextBox
Public WithEvents Label4 As System.Windows.Forms.Label
Public WithEvents Frame4 As System.Windows.Forms.GroupBox
Public WithEvents Sms_Receive_Button As System.Windows.Forms.Button
Public WithEvents ReceiveSms_Text As System.Windows.Forms.TextBox
Public WithEvents Frame3 As System.Windows.Forms.GroupBox
Public WithEvents Sms_Send_Button As System.Windows.Forms.Button
Public WithEvents TelNum_Text As System.Windows.Forms.TextBox
Public WithEvents SendSms_Text As System.Windows.Forms.TextBox
Public WithEvents Label3 As System.Windows.Forms.Label
Public WithEvents Label2 As System.Windows.Forms.Label
Public WithEvents Label1 As System.Windows.Forms.Label
Public WithEvents Frame2 As System.Windows.Forms.GroupBox
Public WithEvents Sms_Connection_Button As System.Windows.Forms.Button
Public WithEvents Sms_Disconnection_Button As System.Windows.Forms.Button
Public WithEvents State_Show As System.Windows.Forms.Label
Public WithEvents Frame1 As System.Windows.Forms.GroupBox
Public WithEvents Label9 As System.Windows.Forms.Label
Public WithEvents Label8 As System.Windows.Forms.Label
Public WithEvents Label7 As System.Windows.Forms.Label
Public WithEvents Label6 As System.Windows.Forms.Label
Public WithEvents Label5 As System.Windows.Forms.Label
'注意:以下过程是 Windows 窗体设计器所必需的
'可以使用 Windows 窗体设计器来修改它。
'不要使用代码编辑器来修改它。
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(mainsms))
Me.ToolTip1 = New System.Windows.Forms.ToolTip(Me.components)
Me.MobPort = New System.Windows.Forms.TextBox()
Me.Frame5 = New System.Windows.Forms.GroupBox()
Me.Sms_Start_Button = New System.Windows.Forms.Button()
Me.Sms_Close_Button = New System.Windows.Forms.Button()
Me.NewSms_Show = New System.Windows.Forms.Label()
Me.NewSms_Timer = New System.Windows.Forms.Timer(Me.components)
Me.Sms_Exit_Button = New System.Windows.Forms.Button()
Me.Frame4 = New System.Windows.Forms.GroupBox()
Me.Sms_Delete_Button = New System.Windows.Forms.Button()
Me.DeleteSms_Index = New System.Windows.Forms.TextBox()
Me.Label4 = New System.Windows.Forms.Label()
Me.Frame3 = New System.Windows.Forms.GroupBox()
Me.Sms_Receive_Button = New System.Windows.Forms.Button()
Me.ReceiveSms_Text = New System.Windows.Forms.TextBox()
Me.Frame2 = New System.Windows.Forms.GroupBox()
Me.Sms_Send_Button = New System.Windows.Forms.Button()
Me.TelNum_Text = New System.Windows.Forms.TextBox()
Me.SendSms_Text = New System.Windows.Forms.TextBox()
Me.Label3 = New System.Windows.Forms.Label()
Me.Label2 = New System.Windows.Forms.Label()
Me.Label1 = New System.Windows.Forms.Label()
Me.Frame1 = New System.Windows.Forms.GroupBox()
Me.Sms_Connection_Button = New System.Windows.Forms.Button()
Me.Sms_Disconnection_Button = New System.Windows.Forms.Button()
Me.State_Show = New System.Windows.Forms.Label()
Me.Label9 = New System.Windows.Forms.Label()
Me.Label8 = New System.Windows.Forms.Label()
Me.Label7 = New System.Windows.Forms.Label()
Me.Label6 = New System.Windows.Forms.Label()
Me.Label5 = New System.Windows.Forms.Label()
Me.Frame5.SuspendLayout()
Me.Frame4.SuspendLayout()
Me.Frame3.SuspendLayout()
Me.Frame2.SuspendLayout()
Me.Frame1.SuspendLayout()
Me.SuspendLayout()
'
'MobPort
'
Me.MobPort.AcceptsReturn = True
Me.MobPort.AutoSize = False
Me.MobPort.BackColor = System.Drawing.SystemColors.Window
Me.MobPort.Cursor = System.Windows.Forms.Cursors.IBeam
Me.MobPort.ForeColor = System.Drawing.SystemColors.WindowText
Me.MobPort.Location = New System.Drawing.Point(96, 8)
Me.MobPort.MaxLength = 0
Me.MobPort.Name = "MobPort"
Me.MobPort.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.MobPort.Size = New System.Drawing.Size(37, 22)
Me.MobPort.TabIndex = 25
Me.MobPort.Text = "0"
'
'Frame5
'
Me.Frame5.BackColor = System.Drawing.SystemColors.Control
Me.Frame5.Controls.AddRange(New System.Windows.Forms.Control() {Me.Sms_Start_Button, Me.Sms_Close_Button, Me.NewSms_Show})
Me.Frame5.ForeColor = System.Drawing.SystemColors.ControlText
Me.Frame5.Location = New System.Drawing.Point(280, 8)
Me.Frame5.Name = "Frame5"
Me.Frame5.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Frame5.Size = New System.Drawing.Size(320, 97)
Me.Frame5.TabIndex = 19
Me.Frame5.TabStop = False
Me.Frame5.Text = "自动接收短信"
'
'Sms_Start_Button
'
Me.Sms_Start_Button.BackColor = System.Drawing.SystemColors.Control
Me.Sms_Start_Button.Cursor = System.Windows.Forms.Cursors.Default
Me.Sms_Start_Button.ForeColor = System.Drawing.SystemColors.ControlText
Me.Sms_Start_Button.Location = New System.Drawing.Point(56, 56)
Me.Sms_Start_Button.Name = "Sms_Start_Button"
Me.Sms_Start_Button.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Sms_Start_Button.Size = New System.Drawing.Size(91, 31)
Me.Sms_Start_Button.TabIndex = 23
Me.Sms_Start_Button.Text = "启 动"
'
'Sms_Close_Button
'
Me.Sms_Close_Button.BackColor = System.Drawing.SystemColors.Control
Me.Sms_Close_Button.Cursor = System.Windows.Forms.Cursors.Default
Me.Sms_Close_Button.Enabled = False
Me.Sms_Close_Button.ForeColor = System.Drawing.SystemColors.ControlText
Me.Sms_Close_Button.Location = New System.Drawing.Point(168, 56)
Me.Sms_Close_Button.Name = "Sms_Close_Button"
Me.Sms_Close_Button.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Sms_Close_Button.Size = New System.Drawing.Size(91, 31)
Me.Sms_Close_Button.TabIndex = 21
Me.Sms_Close_Button.Text = "关 闭"
'
'NewSms_Show
'
Me.NewSms_Show.BackColor = System.Drawing.Color.Transparent
Me.NewSms_Show.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me.NewSms_Show.Cursor = System.Windows.Forms.Cursors.Default
Me.NewSms_Show.ForeColor = System.Drawing.SystemColors.ControlText
Me.NewSms_Show.Location = New System.Drawing.Point(8, 16)
Me.NewSms_Show.Name = "NewSms_Show"
Me.NewSms_Show.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.NewSms_Show.Size = New System.Drawing.Size(299, 29)
Me.NewSms_Show.TabIndex = 20
Me.NewSms_Show.Text = "自动接收短信功能处于关闭状态"
Me.NewSms_Show.TextAlign = System.Drawing.ContentAlignment.TopCenter
'
'NewSms_Timer
'
Me.NewSms_Timer.Interval = 1000
'
'Sms_Exit_Button
'
Me.Sms_Exit_Button.BackColor = System.Drawing.SystemColors.Control
Me.Sms_Exit_Button.Cursor = System.Windows.Forms.Cursors.Default
Me.Sms_Exit_Button.ForeColor = System.Drawing.SystemColors.ControlText
Me.Sms_Exit_Button.Location = New System.Drawing.Point(512, 376)
Me.Sms_Exit_Button.Name = "Sms_Exit_Button"
Me.Sms_Exit_Button.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Sms_Exit_Button.Size = New System.Drawing.Size(91, 31)
Me.Sms_Exit_Button.TabIndex = 17
Me.Sms_Exit_Button.Text = "退 出"
'
'Frame4
'
Me.Frame4.BackColor = System.Drawing.SystemColors.Control
Me.Frame4.Controls.AddRange(New System.Windows.Forms.Control() {Me.Sms_Delete_Button, Me.DeleteSms_Index, Me.Label4})
Me.Frame4.ForeColor = System.Drawing.SystemColors.ControlText
Me.Frame4.Location = New System.Drawing.Point(280, 360)
Me.Frame4.Name = "Frame4"
Me.Frame4.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Frame4.Size = New System.Drawing.Size(227, 57)
Me.Frame4.TabIndex = 11
Me.Frame4.TabStop = False
Me.Frame4.Text = "删除短信"
'
'Sms_Delete_Button
'
Me.Sms_Delete_Button.BackColor = System.Drawing.SystemColors.Control
Me.Sms_Delete_Button.Cursor = System.Windows.Forms.Cursors.Default
Me.Sms_Delete_Button.ForeColor = System.Drawing.SystemColors.ControlText
Me.Sms_Delete_Button.Location = New System.Drawing.Point(128, 16)
Me.Sms_Delete_Button.Name = "Sms_Delete_Button"
Me.Sms_Delete_Button.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Sms_Delete_Button.Size = New System.Drawing.Size(91, 31)
Me.Sms_Delete_Button.TabIndex = 14
Me.Sms_Delete_Button.Text = "删 除"
'
'DeleteSms_Index
'
Me.DeleteSms_Index.AcceptsReturn = True
Me.DeleteSms_Index.AutoSize = False
Me.DeleteSms_Index.BackColor = System.Drawing.SystemColors.Window
Me.DeleteSms_Index.Cursor = System.Windows.Forms.Cursors.IBeam
Me.DeleteSms_Index.ForeColor = System.Drawing.SystemColors.WindowText
Me.DeleteSms_Index.Location = New System.Drawing.Point(88, 16)
Me.DeleteSms_Index.MaxLength = 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -