⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form2.vb

📁 视频卡的测试程序
💻 VB
📖 第 1 页 / 共 2 页
字号:
Imports MSCommLib
Public Class Form2
    Inherits System.Windows.Forms.Form

#Region " Windows 窗体设计器生成的代码 "

    Public Sub New()
        MyBase.New()

        '该调用是 Windows 窗体设计器所必需的。
        InitializeComponent()

        '在 InitializeComponent() 调用之后添加任何初始化

    End Sub

    '窗体重写 dispose 以清理组件列表。
    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
    Friend WithEvents Comm1 As AxMSCommLib.AxMSComm
    Friend WithEvents Comm2 As AxMSCommLib.AxMSComm
    Friend WithEvents Comm3 As AxMSCommLib.AxMSComm
    Friend WithEvents Comm4 As AxMSCommLib.AxMSComm
    Friend WithEvents Comm5 As AxMSCommLib.AxMSComm
    Friend WithEvents Comm6 As AxMSCommLib.AxMSComm
    Friend WithEvents Comm7 As AxMSCommLib.AxMSComm
    Friend WithEvents Comm8 As AxMSCommLib.AxMSComm
    Friend WithEvents Comm9 As AxMSCommLib.AxMSComm
    Friend WithEvents Comm10 As AxMSCommLib.AxMSComm
    Friend WithEvents Comm11 As AxMSCommLib.AxMSComm
    Friend WithEvents Comm12 As AxMSCommLib.AxMSComm

    '注意: 以下过程是 Windows 窗体设计器所必需的
    '可以使用 Windows 窗体设计器修改此过程。
    '不要使用代码编辑器修改它。
    Friend WithEvents TabControl1 As System.Windows.Forms.TabControl
    Friend WithEvents TabPage1 As System.Windows.Forms.TabPage
    Friend WithEvents TabPage2 As System.Windows.Forms.TabPage
    Friend WithEvents TabPage3 As System.Windows.Forms.TabPage
    Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
    Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
    Friend WithEvents GroupBox3 As System.Windows.Forms.GroupBox
    Friend WithEvents GroupBox4 As System.Windows.Forms.GroupBox
    Friend WithEvents GroupBox5 As System.Windows.Forms.GroupBox
    Friend WithEvents GroupBox6 As System.Windows.Forms.GroupBox
    Friend WithEvents GroupBox7 As System.Windows.Forms.GroupBox
    Friend WithEvents GroupBox8 As System.Windows.Forms.GroupBox
    Friend WithEvents GroupBox9 As System.Windows.Forms.GroupBox
    Friend WithEvents GroupBox10 As System.Windows.Forms.GroupBox
    Friend WithEvents GroupBox11 As System.Windows.Forms.GroupBox
    Friend WithEvents GroupBox12 As System.Windows.Forms.GroupBox
    Friend WithEvents Button2 As System.Windows.Forms.Button
    Friend WithEvents Sender1 As System.Windows.Forms.Button
    Friend WithEvents Sender2 As System.Windows.Forms.Button
    Friend WithEvents Sender3 As System.Windows.Forms.Button
    Friend WithEvents Sender4 As System.Windows.Forms.Button
    Friend WithEvents List1 As System.Windows.Forms.ComboBox
    Friend WithEvents Timer1 As System.Windows.Forms.Timer
    Friend WithEvents Timer2 As System.Windows.Forms.Timer
    Friend WithEvents Timer3 As System.Windows.Forms.Timer
    Friend WithEvents Timer4 As System.Windows.Forms.Timer
    Friend WithEvents Timer5 As System.Windows.Forms.Timer
    Friend WithEvents Timer6 As System.Windows.Forms.Timer
    Friend WithEvents Timer7 As System.Windows.Forms.Timer
    Friend WithEvents Timer8 As System.Windows.Forms.Timer
    Friend WithEvents Timer9 As System.Windows.Forms.Timer
    Friend WithEvents Timer10 As System.Windows.Forms.Timer
    Friend WithEvents Timer11 As System.Windows.Forms.Timer
    Friend WithEvents Timer12 As System.Windows.Forms.Timer
    Friend WithEvents OutPut1 As System.Windows.Forms.ListBox
    Friend WithEvents Input1 As System.Windows.Forms.ListBox
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.components = New System.ComponentModel.Container
        Me.TabControl1 = New System.Windows.Forms.TabControl
        Me.TabPage1 = New System.Windows.Forms.TabPage
        Me.GroupBox4 = New System.Windows.Forms.GroupBox
        Me.Sender4 = New System.Windows.Forms.Button
        Me.GroupBox3 = New System.Windows.Forms.GroupBox
        Me.Sender3 = New System.Windows.Forms.Button
        Me.GroupBox2 = New System.Windows.Forms.GroupBox
        Me.Sender2 = New System.Windows.Forms.Button
        Me.GroupBox1 = New System.Windows.Forms.GroupBox
        Me.Button2 = New System.Windows.Forms.Button
        Me.Sender1 = New System.Windows.Forms.Button
        Me.OutPut1 = New System.Windows.Forms.ListBox
        Me.Input1 = New System.Windows.Forms.ListBox
        Me.List1 = New System.Windows.Forms.ComboBox
        Me.TabPage2 = New System.Windows.Forms.TabPage
        Me.GroupBox5 = New System.Windows.Forms.GroupBox
        Me.GroupBox6 = New System.Windows.Forms.GroupBox
        Me.GroupBox7 = New System.Windows.Forms.GroupBox
        Me.GroupBox8 = New System.Windows.Forms.GroupBox
        Me.TabPage3 = New System.Windows.Forms.TabPage
        Me.GroupBox9 = New System.Windows.Forms.GroupBox
        Me.GroupBox10 = New System.Windows.Forms.GroupBox
        Me.GroupBox11 = New System.Windows.Forms.GroupBox
        Me.GroupBox12 = New System.Windows.Forms.GroupBox
        Me.Timer1 = New System.Windows.Forms.Timer(Me.components)
        Me.Timer2 = New System.Windows.Forms.Timer(Me.components)
        Me.Timer3 = New System.Windows.Forms.Timer(Me.components)
        Me.Timer4 = New System.Windows.Forms.Timer(Me.components)
        Me.Timer5 = New System.Windows.Forms.Timer(Me.components)
        Me.Timer6 = New System.Windows.Forms.Timer(Me.components)
        Me.Timer7 = New System.Windows.Forms.Timer(Me.components)
        Me.Timer8 = New System.Windows.Forms.Timer(Me.components)
        Me.Timer9 = New System.Windows.Forms.Timer(Me.components)
        Me.Timer10 = New System.Windows.Forms.Timer(Me.components)
        Me.Timer11 = New System.Windows.Forms.Timer(Me.components)
        Me.Timer12 = New System.Windows.Forms.Timer(Me.components)
        Me.TabControl1.SuspendLayout()
        Me.TabPage1.SuspendLayout()
        Me.GroupBox4.SuspendLayout()
        Me.GroupBox3.SuspendLayout()
        Me.GroupBox2.SuspendLayout()
        Me.GroupBox1.SuspendLayout()
        Me.TabPage2.SuspendLayout()
        Me.TabPage3.SuspendLayout()
        Me.SuspendLayout()
        '
        'TabControl1
        '
        Me.TabControl1.Controls.Add(Me.TabPage1)
        Me.TabControl1.Controls.Add(Me.TabPage2)
        Me.TabControl1.Controls.Add(Me.TabPage3)
        Me.TabControl1.Location = New System.Drawing.Point(24, 8)
        Me.TabControl1.Name = "TabControl1"
        Me.TabControl1.SelectedIndex = 0
        Me.TabControl1.Size = New System.Drawing.Size(664, 536)
        Me.TabControl1.TabIndex = 0
        '
        'TabPage1
        '
        Me.TabPage1.Controls.Add(Me.GroupBox4)
        Me.TabPage1.Controls.Add(Me.GroupBox3)
        Me.TabPage1.Controls.Add(Me.GroupBox2)
        Me.TabPage1.Controls.Add(Me.GroupBox1)
        Me.TabPage1.Location = New System.Drawing.Point(4, 21)
        Me.TabPage1.Name = "TabPage1"
        Me.TabPage1.Size = New System.Drawing.Size(656, 511)
        Me.TabPage1.TabIndex = 0
        Me.TabPage1.Text = "串口(1-4)"
        '
        'GroupBox4
        '
        Me.GroupBox4.Controls.Add(Me.Sender4)
        Me.GroupBox4.Location = New System.Drawing.Point(336, 256)
        Me.GroupBox4.Name = "GroupBox4"
        Me.GroupBox4.Size = New System.Drawing.Size(288, 240)
        Me.GroupBox4.TabIndex = 3
        Me.GroupBox4.TabStop = False
        Me.GroupBox4.Text = "串口4"
        '
        'Sender4
        '
        Me.Sender4.Location = New System.Drawing.Point(40, 200)
        Me.Sender4.Name = "Sender4"
        Me.Sender4.Size = New System.Drawing.Size(56, 24)
        Me.Sender4.TabIndex = 5
        Me.Sender4.Text = "发送"
        '
        'GroupBox3
        '
        Me.GroupBox3.Controls.Add(Me.Sender3)
        Me.GroupBox3.Location = New System.Drawing.Point(8, 256)
        Me.GroupBox3.Name = "GroupBox3"
        Me.GroupBox3.Size = New System.Drawing.Size(288, 240)
        Me.GroupBox3.TabIndex = 2
        Me.GroupBox3.TabStop = False
        Me.GroupBox3.Text = "串口3"
        '
        'Sender3
        '
        Me.Sender3.Location = New System.Drawing.Point(24, 208)
        Me.Sender3.Name = "Sender3"
        Me.Sender3.Size = New System.Drawing.Size(56, 24)
        Me.Sender3.TabIndex = 5
        Me.Sender3.Text = "发送"
        '
        'GroupBox2
        '
        Me.GroupBox2.Controls.Add(Me.Sender2)
        Me.GroupBox2.Location = New System.Drawing.Point(336, 8)
        Me.GroupBox2.Name = "GroupBox2"
        Me.GroupBox2.Size = New System.Drawing.Size(288, 240)
        Me.GroupBox2.TabIndex = 1
        Me.GroupBox2.TabStop = False
        Me.GroupBox2.Text = "串口2"
        '
        'Sender2
        '
        Me.Sender2.Location = New System.Drawing.Point(56, 200)
        Me.Sender2.Name = "Sender2"
        Me.Sender2.Size = New System.Drawing.Size(56, 24)
        Me.Sender2.TabIndex = 5
        Me.Sender2.Text = "发送"
        '
        'GroupBox1
        '
        Me.GroupBox1.Controls.Add(Me.Button2)
        Me.GroupBox1.Controls.Add(Me.Sender1)
        Me.GroupBox1.Controls.Add(Me.OutPut1)
        Me.GroupBox1.Controls.Add(Me.Input1)
        Me.GroupBox1.Controls.Add(Me.List1)
        Me.GroupBox1.Location = New System.Drawing.Point(8, 8)
        Me.GroupBox1.Name = "GroupBox1"
        Me.GroupBox1.Size = New System.Drawing.Size(288, 240)
        Me.GroupBox1.TabIndex = 0
        Me.GroupBox1.TabStop = False
        Me.GroupBox1.Text = "串口1"
        '
        'Button2
        '
        Me.Button2.Location = New System.Drawing.Point(152, 208)
        Me.Button2.Name = "Button2"
        Me.Button2.Size = New System.Drawing.Size(64, 24)
        Me.Button2.TabIndex = 5
        Me.Button2.Text = "停止"
        '
        'Sender1
        '
        Me.Sender1.Location = New System.Drawing.Point(40, 208)
        Me.Sender1.Name = "Sender1"
        Me.Sender1.Size = New System.Drawing.Size(56, 24)
        Me.Sender1.TabIndex = 4
        Me.Sender1.Text = "发送"
        '
        'OutPut1
        '
        Me.OutPut1.ItemHeight = 12
        Me.OutPut1.Location = New System.Drawing.Point(24, 112)
        Me.OutPut1.Name = "OutPut1"
        Me.OutPut1.Size = New System.Drawing.Size(216, 88)
        Me.OutPut1.TabIndex = 3
        '
        'Input1
        '
        Me.Input1.ItemHeight = 12
        Me.Input1.Location = New System.Drawing.Point(24, 64)
        Me.Input1.Name = "Input1"
        Me.Input1.Size = New System.Drawing.Size(216, 40)
        Me.Input1.TabIndex = 2
        '
        'List1
        '
        Me.List1.Items.AddRange(New Object() {"300", "1200", "2400", "4800", "9600", "19200", "38400", "57600", "115200"})
        Me.List1.Location = New System.Drawing.Point(24, 32)
        Me.List1.Name = "List1"
        Me.List1.Size = New System.Drawing.Size(216, 20)
        Me.List1.TabIndex = 1
        '
        'TabPage2
        '
        Me.TabPage2.Controls.Add(Me.GroupBox5)
        Me.TabPage2.Controls.Add(Me.GroupBox6)
        Me.TabPage2.Controls.Add(Me.GroupBox7)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -