📄 form1.designer.vb
字号:
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Public Class FormMain
Inherits System.Windows.Forms.Form
'Form overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
MyBase.Dispose(disposing)
End Sub
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
Private mainMenu1 As System.Windows.Forms.MainMenu
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container
Me.mainMenu1 = New System.Windows.Forms.MainMenu
Me.pBox = New System.Windows.Forms.Panel
Me.label1 = New System.Windows.Forms.Label
Me.Label2 = New System.Windows.Forms.Label
Me.lstBaud = New System.Windows.Forms.ListBox
Me.btnExit = New System.Windows.Forms.Button
Me.textBoxParams = New System.Windows.Forms.TextBox
Me.textBoxCoord = New System.Windows.Forms.TextBox
Me.lstPorts = New System.Windows.Forms.ListBox
Me.btnClose = New System.Windows.Forms.Button
Me.textBoxOut = New System.Windows.Forms.TextBox
Me.btnOpen = New System.Windows.Forms.Button
Me.cmpGpsReceiver = New ZylGPSReceiverMobile.GPSReceiver(Me.components)
Me.btnDetect = New System.Windows.Forms.Button
Me.SuspendLayout()
'
'pBox
'
Me.pBox.Location = New System.Drawing.Point(123, 157)
Me.pBox.Name = "pBox"
Me.pBox.Size = New System.Drawing.Size(106, 106)
'
'label1
'
Me.label1.Font = New System.Drawing.Font("Tahoma", 9.0!, System.Drawing.FontStyle.Bold)
Me.label1.Location = New System.Drawing.Point(79, 5)
Me.label1.Name = "label1"
Me.label1.Size = New System.Drawing.Size(68, 15)
Me.label1.Text = "Port:"
'
'Label2
'
Me.Label2.Font = New System.Drawing.Font("Tahoma", 9.0!, System.Drawing.FontStyle.Bold)
Me.Label2.Location = New System.Drawing.Point(155, 5)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(75, 15)
Me.Label2.Text = "Baud Rate:"
'
'lstBaud
'
Me.lstBaud.Items.Add("110")
Me.lstBaud.Items.Add("300")
Me.lstBaud.Items.Add("600")
Me.lstBaud.Items.Add("1200")
Me.lstBaud.Items.Add("2400")
Me.lstBaud.Items.Add("4800")
Me.lstBaud.Items.Add("9600")
Me.lstBaud.Items.Add("14400")
Me.lstBaud.Items.Add("19200")
Me.lstBaud.Items.Add("38400")
Me.lstBaud.Items.Add("56000")
Me.lstBaud.Items.Add("57600")
Me.lstBaud.Items.Add("115200")
Me.lstBaud.Items.Add("128000")
Me.lstBaud.Items.Add("256000")
Me.lstBaud.Location = New System.Drawing.Point(155, 23)
Me.lstBaud.Name = "lstBaud"
Me.lstBaud.Size = New System.Drawing.Size(75, 30)
Me.lstBaud.TabIndex = 29
'
'btnExit
'
Me.btnExit.Location = New System.Drawing.Point(11, 183)
Me.btnExit.Name = "btnExit"
Me.btnExit.Size = New System.Drawing.Size(72, 20)
Me.btnExit.TabIndex = 28
Me.btnExit.Text = "Exit"
'
'textBoxParams
'
Me.textBoxParams.Location = New System.Drawing.Point(10, 83)
Me.textBoxParams.Name = "textBoxParams"
Me.textBoxParams.Size = New System.Drawing.Size(219, 21)
Me.textBoxParams.TabIndex = 27
'
'textBoxCoord
'
Me.textBoxCoord.Location = New System.Drawing.Point(11, 59)
Me.textBoxCoord.Name = "textBoxCoord"
Me.textBoxCoord.Size = New System.Drawing.Size(219, 21)
Me.textBoxCoord.TabIndex = 26
'
'lstPorts
'
Me.lstPorts.Items.Add("COM1")
Me.lstPorts.Items.Add("COM2")
Me.lstPorts.Items.Add("COM3")
Me.lstPorts.Items.Add("COM4")
Me.lstPorts.Items.Add("COM5")
Me.lstPorts.Items.Add("COM6")
Me.lstPorts.Items.Add("COM7")
Me.lstPorts.Items.Add("COM8")
Me.lstPorts.Items.Add("COM9")
Me.lstPorts.Items.Add("COM10")
Me.lstPorts.Items.Add("COM11")
Me.lstPorts.Items.Add("COM12")
Me.lstPorts.Location = New System.Drawing.Point(79, 23)
Me.lstPorts.Name = "lstPorts"
Me.lstPorts.Size = New System.Drawing.Size(68, 30)
Me.lstPorts.TabIndex = 25
'
'btnClose
'
Me.btnClose.Location = New System.Drawing.Point(11, 33)
Me.btnClose.Name = "btnClose"
Me.btnClose.Size = New System.Drawing.Size(62, 20)
Me.btnClose.TabIndex = 24
Me.btnClose.Text = "Close"
'
'textBoxOut
'
Me.textBoxOut.AcceptsReturn = True
Me.textBoxOut.Location = New System.Drawing.Point(10, 109)
Me.textBoxOut.Multiline = True
Me.textBoxOut.Name = "textBoxOut"
Me.textBoxOut.ReadOnly = True
Me.textBoxOut.ScrollBars = System.Windows.Forms.ScrollBars.Vertical
Me.textBoxOut.Size = New System.Drawing.Size(219, 43)
Me.textBoxOut.TabIndex = 23
'
'btnOpen
'
Me.btnOpen.Location = New System.Drawing.Point(10, 5)
Me.btnOpen.Name = "btnOpen"
Me.btnOpen.Size = New System.Drawing.Size(63, 18)
Me.btnOpen.TabIndex = 22
Me.btnOpen.Text = "Open"
'
'cmpGpsReceiver
'
Me.cmpGpsReceiver.BaudRate = ZylGPSReceiverMobile.SerialBaudRate.br009600
Me.cmpGpsReceiver.DataWidth = ZylGPSReceiverMobile.SerialDataWidth.dw8Bits
Me.cmpGpsReceiver.EnableDTROnOpen = True
Me.cmpGpsReceiver.EnableRTSOnOpen = True
Me.cmpGpsReceiver.FlowControl = System.IO.Ports.Handshake.None
Me.cmpGpsReceiver.ForceCheckSum = True
Me.cmpGpsReceiver.ParityBits = System.IO.Ports.Parity.None
Me.cmpGpsReceiver.Port = ZylGPSReceiverMobile.SerialCommPort.COM02
Me.cmpGpsReceiver.ReadIntervalTimeout = -1
Me.cmpGpsReceiver.StopBits = System.IO.Ports.StopBits.One
Me.cmpGpsReceiver.WriteIntervalTimeout = -1
'
'btnDetect
'
Me.btnDetect.Location = New System.Drawing.Point(11, 158)
Me.btnDetect.Name = "btnDetect"
Me.btnDetect.Size = New System.Drawing.Size(72, 20)
Me.btnDetect.TabIndex = 30
Me.btnDetect.Text = "Detect"
'
'FormMain
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(96.0!, 96.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi
Me.AutoScroll = True
Me.ClientSize = New System.Drawing.Size(240, 268)
Me.Controls.Add(Me.btnDetect)
Me.Controls.Add(Me.pBox)
Me.Controls.Add(Me.label1)
Me.Controls.Add(Me.Label2)
Me.Controls.Add(Me.lstBaud)
Me.Controls.Add(Me.btnExit)
Me.Controls.Add(Me.textBoxParams)
Me.Controls.Add(Me.textBoxCoord)
Me.Controls.Add(Me.lstPorts)
Me.Controls.Add(Me.btnClose)
Me.Controls.Add(Me.textBoxOut)
Me.Controls.Add(Me.btnOpen)
Me.Menu = Me.mainMenu1
Me.Name = "FormMain"
Me.Text = "ZylGPSReceiver Mobile"
Me.ResumeLayout(False)
End Sub
Friend WithEvents cmpGpsReceiver As ZylGPSReceiverMobile.GPSReceiver
Private WithEvents pBox As System.Windows.Forms.Panel
Friend WithEvents label1 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents lstBaud As System.Windows.Forms.ListBox
Private WithEvents btnExit As System.Windows.Forms.Button
Private WithEvents textBoxParams As System.Windows.Forms.TextBox
Private WithEvents textBoxCoord As System.Windows.Forms.TextBox
Private WithEvents lstPorts As System.Windows.Forms.ListBox
Private WithEvents btnClose As System.Windows.Forms.Button
Private WithEvents textBoxOut As System.Windows.Forms.TextBox
Private WithEvents btnOpen As System.Windows.Forms.Button
Private WithEvents btnDetect As System.Windows.Forms.Button
End Class
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -