Find all our projects in development below.
All source code is GNU General Public License (GPL)
Browsing frmMain.Designer.vb (11.46 KB)
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class frmMain
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
'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
Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(frmMain))
Me.spIn = New System.IO.Ports.SerialPort(Me.components)
Me.spOut = New System.IO.Ports.SerialPort(Me.components)
Me.appNotifyIcon = New System.Windows.Forms.NotifyIcon(Me.components)
Me.menuPopup = New System.Windows.Forms.ContextMenuStrip(Me.components)
Me.mnuOpen = New System.Windows.Forms.ToolStripMenuItem
Me.ToolStripSeparator1 = New System.Windows.Forms.ToolStripSeparator
Me.mnuReconnect = New System.Windows.Forms.ToolStripMenuItem
Me.ToolStripMenuItem1 = New System.Windows.Forms.ToolStripSeparator
Me.mnuExit = New System.Windows.Forms.ToolStripMenuItem
Me.grpStats = New System.Windows.Forms.GroupBox
Me.lblOut = New System.Windows.Forms.Label
Me.lblIn = New System.Windows.Forms.Label
Me.lblOutput = New System.Windows.Forms.Label
Me.lblInput = New System.Windows.Forms.Label
Me.ssMain = New System.Windows.Forms.StatusStrip
Me.lblInfo = New System.Windows.Forms.ToolStripStatusLabel
Me.lblInPort = New System.Windows.Forms.ToolStripStatusLabel
Me.lblOutPort = New System.Windows.Forms.ToolStripStatusLabel
Me.lblIco = New System.Windows.Forms.ToolStripStatusLabel
Me.timerLoad = New System.Windows.Forms.Timer(Me.components)
Me.timerUpdate = New System.Windows.Forms.Timer(Me.components)
Me.menuPopup.SuspendLayout()
Me.grpStats.SuspendLayout()
Me.ssMain.SuspendLayout()
Me.SuspendLayout()
'
'spIn
'
Me.spIn.BaudRate = 2400
Me.spIn.Parity = System.IO.Ports.Parity.Even
Me.spIn.PortName = "COM4"
'
'spOut
'
Me.spOut.BaudRate = 19200
Me.spOut.DtrEnable = True
Me.spOut.PortName = "COM6"
Me.spOut.WriteBufferSize = 16
Me.spOut.WriteTimeout = 5
'
'appNotifyIcon
'
Me.appNotifyIcon.ContextMenuStrip = Me.menuPopup
Me.appNotifyIcon.Text = "PLX -> LM-1 Wideband"
Me.appNotifyIcon.Visible = True
'
'menuPopup
'
Me.menuPopup.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.mnuOpen, Me.ToolStripSeparator1, Me.mnuReconnect, Me.ToolStripMenuItem1, Me.mnuExit})
Me.menuPopup.Name = "menuPopup"
Me.menuPopup.Size = New System.Drawing.Size(126, 82)
'
'mnuOpen
'
Me.mnuOpen.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text
Me.mnuOpen.Name = "mnuOpen"
Me.mnuOpen.Size = New System.Drawing.Size(125, 22)
Me.mnuOpen.Text = "&Open"
'
'ToolStripSeparator1
'
Me.ToolStripSeparator1.Name = "ToolStripSeparator1"
Me.ToolStripSeparator1.Size = New System.Drawing.Size(122, 6)
'
'mnuReconnect
'
Me.mnuReconnect.Name = "mnuReconnect"
Me.mnuReconnect.Size = New System.Drawing.Size(125, 22)
Me.mnuReconnect.Text = "&Reconnect"
'
'ToolStripMenuItem1
'
Me.ToolStripMenuItem1.Name = "ToolStripMenuItem1"
Me.ToolStripMenuItem1.Size = New System.Drawing.Size(122, 6)
'
'mnuExit
'
Me.mnuExit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text
Me.mnuExit.Name = "mnuExit"
Me.mnuExit.Size = New System.Drawing.Size(125, 22)
Me.mnuExit.Text = "E&xit"
'
'grpStats
'
Me.grpStats.Controls.Add(Me.lblOut)
Me.grpStats.Controls.Add(Me.lblIn)
Me.grpStats.Controls.Add(Me.lblOutput)
Me.grpStats.Controls.Add(Me.lblInput)
Me.grpStats.Location = New System.Drawing.Point(12, 12)
Me.grpStats.Name = "grpStats"
Me.grpStats.Size = New System.Drawing.Size(300, 80)
Me.grpStats.TabIndex = 11
Me.grpStats.TabStop = False
Me.grpStats.Text = "Statistics"
'
'lblOut
'
Me.lblOut.Location = New System.Drawing.Point(133, 46)
Me.lblOut.Name = "lblOut"
Me.lblOut.Size = New System.Drawing.Size(158, 18)
Me.lblOut.TabIndex = 3
Me.lblOut.Text = "0"
Me.lblOut.TextAlign = System.Drawing.ContentAlignment.TopRight
'
'lblIn
'
Me.lblIn.Location = New System.Drawing.Point(130, 26)
Me.lblIn.Name = "lblIn"
Me.lblIn.Size = New System.Drawing.Size(161, 18)
Me.lblIn.TabIndex = 2
Me.lblIn.Text = "0"
Me.lblIn.TextAlign = System.Drawing.ContentAlignment.TopRight
'
'lblOutput
'
Me.lblOutput.AutoSize = True
Me.lblOutput.Location = New System.Drawing.Point(15, 46)
Me.lblOutput.Name = "lblOutput"
Me.lblOutput.Size = New System.Drawing.Size(95, 13)
Me.lblOutput.TabIndex = 1
Me.lblOutput.Text = "Outgoing packets:"
'
'lblInput
'
Me.lblInput.AutoSize = True
Me.lblInput.Location = New System.Drawing.Point(15, 26)
Me.lblInput.Name = "lblInput"
Me.lblInput.Size = New System.Drawing.Size(94, 13)
Me.lblInput.TabIndex = 0
Me.lblInput.Text = "Incoming packets:"
'
'ssMain
'
Me.ssMain.Items.AddRange(New System.Windows.Forms.ToolStripItem() {Me.lblInfo, Me.lblInPort, Me.lblOutPort, Me.lblIco})
Me.ssMain.Location = New System.Drawing.Point(0, 109)
Me.ssMain.Name = "ssMain"
Me.ssMain.ShowItemToolTips = True
Me.ssMain.Size = New System.Drawing.Size(330, 22)
Me.ssMain.SizingGrip = False
Me.ssMain.TabIndex = 12
'
'lblInfo
'
Me.lblInfo.Name = "lblInfo"
Me.lblInfo.Size = New System.Drawing.Size(133, 17)
Me.lblInfo.Spring = True
Me.lblInfo.Text = "Starting up..."
Me.lblInfo.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'lblInPort
'
Me.lblInPort.AutoSize = False
Me.lblInPort.BorderSides = CType((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) _
Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) _
Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom), System.Windows.Forms.ToolStripStatusLabelBorderSides)
Me.lblInPort.BorderStyle = System.Windows.Forms.Border3DStyle.SunkenOuter
Me.lblInPort.Name = "lblInPort"
Me.lblInPort.Size = New System.Drawing.Size(80, 17)
Me.lblInPort.Text = "IN: COM1"
Me.lblInPort.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'lblOutPort
'
Me.lblOutPort.AutoSize = False
Me.lblOutPort.BorderSides = CType((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top) _
Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right) _
Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom), System.Windows.Forms.ToolStripStatusLabelBorderSides)
Me.lblOutPort.BorderStyle = System.Windows.Forms.Border3DStyle.SunkenOuter
Me.lblOutPort.Name = "lblOutPort"
Me.lblOutPort.Size = New System.Drawing.Size(80, 17)
Me.lblOutPort.Text = "OUT: COM2"
Me.lblOutPort.TextAlign = System.Drawing.ContentAlignment.MiddleLeft
'
'lblIco
'
Me.lblIco.AutoSize = False
Me.lblIco.BorderStyle = System.Windows.Forms.Border3DStyle.SunkenOuter
Me.lblIco.Image = Global.plx2lm1.My.Resources.Resources.com_off
Me.lblIco.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None
Me.lblIco.Name = "lblIco"
Me.lblIco.Size = New System.Drawing.Size(22, 17)
'
'timerLoad
'
Me.timerLoad.Enabled = True
Me.timerLoad.Interval = 1000
'
'timerUpdate
'
Me.timerUpdate.Interval = 500
'
'frmMain
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(330, 131)
Me.Controls.Add(Me.ssMain)
Me.Controls.Add(Me.grpStats)
Me.Font = New System.Drawing.Font("Tahoma", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle
Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
Me.MaximizeBox = False
Me.Name = "frmMain"
Me.Text = "PLX -> LM-1 Wideband"
Me.menuPopup.ResumeLayout(False)
Me.grpStats.ResumeLayout(False)
Me.grpStats.PerformLayout()
Me.ssMain.ResumeLayout(False)
Me.ssMain.PerformLayout()
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
Friend WithEvents spIn As System.IO.Ports.SerialPort
Friend WithEvents spOut As System.IO.Ports.SerialPort
Friend WithEvents appNotifyIcon As System.Windows.Forms.NotifyIcon
Friend WithEvents grpStats As System.Windows.Forms.GroupBox
Friend WithEvents lblInput As System.Windows.Forms.Label
Friend WithEvents lblOutput As System.Windows.Forms.Label
Friend WithEvents ssMain As System.Windows.Forms.StatusStrip
Friend WithEvents lblInPort As System.Windows.Forms.ToolStripStatusLabel
Friend WithEvents lblOutPort As System.Windows.Forms.ToolStripStatusLabel
Friend WithEvents lblInfo As System.Windows.Forms.ToolStripStatusLabel
Friend WithEvents lblIco As System.Windows.Forms.ToolStripStatusLabel
Friend WithEvents lblIn As System.Windows.Forms.Label
Friend WithEvents lblOut As System.Windows.Forms.Label
Friend WithEvents timerLoad As System.Windows.Forms.Timer
Friend WithEvents menuPopup As System.Windows.Forms.ContextMenuStrip
Friend WithEvents mnuOpen As System.Windows.Forms.ToolStripMenuItem
Friend WithEvents ToolStripSeparator1 As System.Windows.Forms.ToolStripSeparator
Friend WithEvents mnuExit As System.Windows.Forms.ToolStripMenuItem
Friend WithEvents timerUpdate As System.Windows.Forms.Timer
Friend WithEvents mnuReconnect As System.Windows.Forms.ToolStripMenuItem
Friend WithEvents ToolStripMenuItem1 As System.Windows.Forms.ToolStripSeparator
End Class