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

📄 form1.vb

📁 dlfm lmfcd òlm<òfdl mò<lm òlm<
💻 VB
📖 第 1 页 / 共 2 页
字号:
Public Class Form1
    Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "

    Public Sub New()
        MyBase.New()

        'This call is required by the Windows Form Designer.
        InitializeComponent()

        'Add any initialization after the InitializeComponent() call

    End Sub

    'Form overrides dispose to clean up the component list.
    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

    '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.
    Friend WithEvents Button1 As System.Windows.Forms.Button
    Friend WithEvents speed1 As System.Windows.Forms.TextBox
    Friend WithEvents speed2 As System.Windows.Forms.TextBox
    Friend WithEvents speed3 As System.Windows.Forms.TextBox
    Friend WithEvents speed4 As System.Windows.Forms.TextBox
    Friend WithEvents Label1 As System.Windows.Forms.Label
    Friend WithEvents Label2 As System.Windows.Forms.Label
    Friend WithEvents Label3 As System.Windows.Forms.Label
    Friend WithEvents Label4 As System.Windows.Forms.Label
    Friend WithEvents on1 As System.Windows.Forms.CheckBox
    Friend WithEvents on2 As System.Windows.Forms.CheckBox
    Friend WithEvents on3 As System.Windows.Forms.CheckBox
    Friend WithEvents on4 As System.Windows.Forms.CheckBox
    Friend WithEvents servo As System.Windows.Forms.TextBox
    Friend WithEvents Label5 As System.Windows.Forms.Label
    Friend WithEvents Button2 As System.Windows.Forms.Button
    Friend WithEvents DO1 As System.Windows.Forms.CheckBox
    Friend WithEvents DO2 As System.Windows.Forms.CheckBox
    Friend WithEvents DO3 As System.Windows.Forms.CheckBox
    Friend WithEvents DO4 As System.Windows.Forms.CheckBox
    Friend WithEvents DIP1 As System.Windows.Forms.CheckBox
    Friend WithEvents DIP2 As System.Windows.Forms.CheckBox
    Friend WithEvents DIP3 As System.Windows.Forms.CheckBox
    Friend WithEvents DIP6 As System.Windows.Forms.CheckBox
    Friend WithEvents DIP5 As System.Windows.Forms.CheckBox
    Friend WithEvents DIP4 As System.Windows.Forms.CheckBox
    Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
    Friend WithEvents GroupBox2 As System.Windows.Forms.GroupBox
    Friend WithEvents Label6 As System.Windows.Forms.Label
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Dim configurationAppSettings As System.Configuration.AppSettingsReader = New System.Configuration.AppSettingsReader
        Me.speed1 = New System.Windows.Forms.TextBox
        Me.Button1 = New System.Windows.Forms.Button
        Me.speed2 = New System.Windows.Forms.TextBox
        Me.speed3 = New System.Windows.Forms.TextBox
        Me.speed4 = New System.Windows.Forms.TextBox
        Me.Label1 = New System.Windows.Forms.Label
        Me.Label2 = New System.Windows.Forms.Label
        Me.Label3 = New System.Windows.Forms.Label
        Me.Label4 = New System.Windows.Forms.Label
        Me.on1 = New System.Windows.Forms.CheckBox
        Me.on2 = New System.Windows.Forms.CheckBox
        Me.on3 = New System.Windows.Forms.CheckBox
        Me.on4 = New System.Windows.Forms.CheckBox
        Me.servo = New System.Windows.Forms.TextBox
        Me.Label5 = New System.Windows.Forms.Label
        Me.Button2 = New System.Windows.Forms.Button
        Me.DO1 = New System.Windows.Forms.CheckBox
        Me.DO2 = New System.Windows.Forms.CheckBox
        Me.DO3 = New System.Windows.Forms.CheckBox
        Me.DO4 = New System.Windows.Forms.CheckBox
        Me.DIP1 = New System.Windows.Forms.CheckBox
        Me.DIP2 = New System.Windows.Forms.CheckBox
        Me.DIP3 = New System.Windows.Forms.CheckBox
        Me.DIP6 = New System.Windows.Forms.CheckBox
        Me.DIP5 = New System.Windows.Forms.CheckBox
        Me.DIP4 = New System.Windows.Forms.CheckBox
        Me.GroupBox1 = New System.Windows.Forms.GroupBox
        Me.GroupBox2 = New System.Windows.Forms.GroupBox
        Me.Label6 = New System.Windows.Forms.Label
        Me.SuspendLayout()
        '
        'speed1
        '
        Me.speed1.Location = New System.Drawing.Point(96, 112)
        Me.speed1.Name = "speed1"
        Me.speed1.Size = New System.Drawing.Size(40, 20)
        Me.speed1.TabIndex = 1
        Me.speed1.Text = "100"
        '
        'Button1
        '
        Me.Button1.Location = New System.Drawing.Point(208, 24)
        Me.Button1.Name = "Button1"
        Me.Button1.Size = New System.Drawing.Size(88, 23)
        Me.Button1.TabIndex = 0
        Me.Button1.Text = "Initialise"
        '
        'speed2
        '
        Me.speed2.Location = New System.Drawing.Point(96, 144)
        Me.speed2.Name = "speed2"
        Me.speed2.Size = New System.Drawing.Size(40, 20)
        Me.speed2.TabIndex = 2
        Me.speed2.Text = "100"
        '
        'speed3
        '
        Me.speed3.Location = New System.Drawing.Point(96, 176)
        Me.speed3.Name = "speed3"
        Me.speed3.Size = New System.Drawing.Size(40, 20)
        Me.speed3.TabIndex = 3
        Me.speed3.Text = "100"
        '
        'speed4
        '
        Me.speed4.Location = New System.Drawing.Point(96, 208)
        Me.speed4.Name = "speed4"
        Me.speed4.Size = New System.Drawing.Size(40, 20)
        Me.speed4.TabIndex = 4
        Me.speed4.Text = "100"
        '
        'Label1
        '
        Me.Label1.Location = New System.Drawing.Point(40, 120)
        Me.Label1.Name = "Label1"
        Me.Label1.Size = New System.Drawing.Size(48, 16)
        Me.Label1.TabIndex = 0
        Me.Label1.Text = "Speed 1"
        '
        'Label2
        '
        Me.Label2.Location = New System.Drawing.Point(40, 152)
        Me.Label2.Name = "Label2"
        Me.Label2.Size = New System.Drawing.Size(56, 16)
        Me.Label2.TabIndex = 14
        Me.Label2.Text = "Speed 2"
        '
        'Label3
        '
        Me.Label3.Location = New System.Drawing.Point(40, 184)
        Me.Label3.Name = "Label3"
        Me.Label3.Size = New System.Drawing.Size(48, 16)
        Me.Label3.TabIndex = 10
        Me.Label3.Text = "Speed 3"
        '
        'Label4
        '
        Me.Label4.Location = New System.Drawing.Point(40, 216)
        Me.Label4.Name = "Label4"
        Me.Label4.Size = New System.Drawing.Size(48, 16)
        Me.Label4.TabIndex = 8
        Me.Label4.Text = "Speed 4"
        '
        'on1
        '
        Me.on1.Checked = CType(configurationAppSettings.GetValue("on1.Checked", GetType(System.Boolean)), Boolean)
        Me.on1.Location = New System.Drawing.Point(160, 112)
        Me.on1.Name = "on1"
        Me.on1.Size = New System.Drawing.Size(48, 24)
        Me.on1.TabIndex = 7
        Me.on1.Text = "On 1"
        '
        'on2
        '
        Me.on2.Location = New System.Drawing.Point(160, 144)
        Me.on2.Name = "on2"
        Me.on2.Size = New System.Drawing.Size(48, 24)
        Me.on2.TabIndex = 8
        Me.on2.Text = "On 2"
        '
        'on3
        '
        Me.on3.Location = New System.Drawing.Point(160, 176)
        Me.on3.Name = "on3"
        Me.on3.Size = New System.Drawing.Size(48, 24)
        Me.on3.TabIndex = 9
        Me.on3.Text = "on 3"
        '
        'on4
        '
        Me.on4.Location = New System.Drawing.Point(160, 208)
        Me.on4.Name = "on4"
        Me.on4.Size = New System.Drawing.Size(48, 24)
        Me.on4.TabIndex = 10
        Me.on4.Text = "On 4"
        '
        'servo
        '
        Me.servo.Location = New System.Drawing.Point(96, 240)
        Me.servo.Name = "servo"
        Me.servo.Size = New System.Drawing.Size(40, 20)
        Me.servo.TabIndex = 5
        Me.servo.Text = "128"
        '
        'Label5
        '
        Me.Label5.Location = New System.Drawing.Point(48, 248)
        Me.Label5.Name = "Label5"
        Me.Label5.Size = New System.Drawing.Size(40, 16)
        Me.Label5.TabIndex = 9
        Me.Label5.Text = "Servo"
        '
        'Button2
        '
        Me.Button2.Location = New System.Drawing.Point(136, 296)
        Me.Button2.Name = "Button2"
        Me.Button2.Size = New System.Drawing.Size(88, 23)
        Me.Button2.TabIndex = 15
        Me.Button2.Text = "Send Settings"
        '
        'DO1
        '
        Me.DO1.Location = New System.Drawing.Point(256, 112)
        Me.DO1.Name = "DO1"
        Me.DO1.Size = New System.Drawing.Size(72, 24)
        Me.DO1.TabIndex = 16
        Me.DO1.Text = "Dig OP1"
        '
        'DO2
        '
        Me.DO2.Location = New System.Drawing.Point(256, 144)
        Me.DO2.Name = "DO2"
        Me.DO2.Size = New System.Drawing.Size(72, 24)
        Me.DO2.TabIndex = 17
        Me.DO2.Text = "Dig OP2"
        '
        'DO3
        '
        Me.DO3.Location = New System.Drawing.Point(256, 176)

⌨️ 快捷键说明

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