Partial Class FrmAddDevice Inherits System.Windows.Forms.Form 'Form 重写 Dispose,以清理组件列表。 Protected Overrides Sub Dispose(ByVal disposing As Boolean) Try If disposing AndAlso components IsNot Nothing Then components.Dispose() End If Finally MyBase.Dispose(disposing) End Try End Sub 'Windows 窗体设计器所必需的 Private components As System.ComponentModel.IContainer '注意: 以下过程是 Windows 窗体设计器所必需的 '可以使用 Windows 窗体设计器修改它。 '不要使用代码编辑器修改它。 Private Sub InitializeComponent() Me.Label1 = New System.Windows.Forms.Label() Me.Label2 = New System.Windows.Forms.Label() Me.TextBox1 = New System.Windows.Forms.TextBox() Me.TextBox2 = New System.Windows.Forms.TextBox() Me.Label3 = New System.Windows.Forms.Label() Me.TextBox3 = New System.Windows.Forms.TextBox() Me.Label4 = New System.Windows.Forms.Label() Me.TextBox4 = New System.Windows.Forms.TextBox() Me.Label5 = New System.Windows.Forms.Label() Me.TextBox5 = New System.Windows.Forms.TextBox() Me.Label6 = New System.Windows.Forms.Label() Me.TextBox6 = New System.Windows.Forms.TextBox() Me.Label7 = New System.Windows.Forms.Label() Me.TextBox7 = New System.Windows.Forms.TextBox() Me.Label8 = New System.Windows.Forms.Label() Me.Button1 = New System.Windows.Forms.Button() Me.Button2 = New System.Windows.Forms.Button() Me.SuspendLayout() ' 'Label1 ' Me.Label1.AutoSize = True Me.Label1.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Label1.Location = New System.Drawing.Point(121, 23) Me.Label1.Name = "Label1" Me.Label1.Size = New System.Drawing.Size(123, 19) Me.Label1.TabIndex = 0 Me.Label1.Text = "新增设备信息" ' 'Label2 ' Me.Label2.AutoSize = True Me.Label2.Location = New System.Drawing.Point(75, 72) Me.Label2.Name = "Label2" Me.Label2.Size = New System.Drawing.Size(53, 12) Me.Label2.TabIndex = 1 Me.Label2.Text = "设备型号" ' 'TextBox1 ' Me.TextBox1.Location = New System.Drawing.Point(134, 69) Me.TextBox1.Name = "TextBox1" Me.TextBox1.Size = New System.Drawing.Size(159, 21) Me.TextBox1.TabIndex = 2 ' 'TextBox2 ' Me.TextBox2.Location = New System.Drawing.Point(134, 96) Me.TextBox2.Name = "TextBox2" Me.TextBox2.Size = New System.Drawing.Size(159, 21) Me.TextBox2.TabIndex = 4 ' 'Label3 ' Me.Label3.AutoSize = True Me.Label3.Location = New System.Drawing.Point(75, 99) Me.Label3.Name = "Label3" Me.Label3.Size = New System.Drawing.Size(53, 12) Me.Label3.TabIndex = 3 Me.Label3.Text = "设备类型" ' 'TextBox3 ' Me.TextBox3.Location = New System.Drawing.Point(134, 123) Me.TextBox3.Name = "TextBox3" Me.TextBox3.Size = New System.Drawing.Size(159, 21) Me.TextBox3.TabIndex = 6 ' 'Label4 ' Me.Label4.AutoSize = True Me.Label4.Location = New System.Drawing.Point(75, 126) Me.Label4.Name = "Label4" Me.Label4.Size = New System.Drawing.Size(53, 12) Me.Label4.TabIndex = 5 Me.Label4.Text = "设备名称" ' 'TextBox4 ' Me.TextBox4.Location = New System.Drawing.Point(134, 150) Me.TextBox4.Name = "TextBox4" Me.TextBox4.Size = New System.Drawing.Size(159, 21) Me.TextBox4.TabIndex = 8 ' 'Label5 ' Me.Label5.AutoSize = True Me.Label5.Location = New System.Drawing.Point(75, 153) Me.Label5.Name = "Label5" Me.Label5.Size = New System.Drawing.Size(53, 12) Me.Label5.TabIndex = 7 Me.Label5.Text = "协议编号" ' 'TextBox5 ' Me.TextBox5.Location = New System.Drawing.Point(134, 177) Me.TextBox5.Name = "TextBox5" Me.TextBox5.Size = New System.Drawing.Size(159, 21) Me.TextBox5.TabIndex = 10 ' 'Label6 ' Me.Label6.AutoSize = True Me.Label6.Location = New System.Drawing.Point(75, 180) Me.Label6.Name = "Label6" Me.Label6.Size = New System.Drawing.Size(41, 12) Me.Label6.TabIndex = 9 Me.Label6.Text = "波特率" ' 'TextBox6 ' Me.TextBox6.Location = New System.Drawing.Point(134, 204) Me.TextBox6.Name = "TextBox6" Me.TextBox6.Size = New System.Drawing.Size(159, 21) Me.TextBox6.TabIndex = 12 ' 'Label7 ' Me.Label7.AutoSize = True Me.Label7.Location = New System.Drawing.Point(75, 207) Me.Label7.Name = "Label7" Me.Label7.Size = New System.Drawing.Size(53, 12) Me.Label7.TabIndex = 11 Me.Label7.Text = "功能说明" ' 'TextBox7 ' Me.TextBox7.Location = New System.Drawing.Point(134, 231) Me.TextBox7.Multiline = True Me.TextBox7.Name = "TextBox7" Me.TextBox7.Size = New System.Drawing.Size(159, 54) Me.TextBox7.TabIndex = 14 ' 'Label8 ' Me.Label8.AutoSize = True Me.Label8.Location = New System.Drawing.Point(75, 234) Me.Label8.Name = "Label8" Me.Label8.Size = New System.Drawing.Size(29, 12) Me.Label8.TabIndex = 13 Me.Label8.Text = "备注" ' 'Button1 ' Me.Button1.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button1.Location = New System.Drawing.Point(174, 313) Me.Button1.Name = "Button1" Me.Button1.Size = New System.Drawing.Size(78, 37) Me.Button1.TabIndex = 15 Me.Button1.Text = "保存" Me.Button1.UseVisualStyleBackColor = True ' 'Button2 ' Me.Button2.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte)) Me.Button2.Location = New System.Drawing.Point(277, 313) Me.Button2.Name = "Button2" Me.Button2.Size = New System.Drawing.Size(78, 37) Me.Button2.TabIndex = 16 Me.Button2.Text = "取消" Me.Button2.UseVisualStyleBackColor = True ' 'FrmAddDevice ' Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 12.0!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.ClientSize = New System.Drawing.Size(371, 358) Me.Controls.Add(Me.Button2) Me.Controls.Add(Me.Button1) Me.Controls.Add(Me.TextBox7) Me.Controls.Add(Me.Label8) Me.Controls.Add(Me.TextBox6) Me.Controls.Add(Me.Label7) Me.Controls.Add(Me.TextBox5) Me.Controls.Add(Me.Label6) Me.Controls.Add(Me.TextBox4) Me.Controls.Add(Me.Label5) Me.Controls.Add(Me.TextBox3) Me.Controls.Add(Me.Label4) Me.Controls.Add(Me.TextBox2) Me.Controls.Add(Me.Label3) Me.Controls.Add(Me.TextBox1) Me.Controls.Add(Me.Label2) Me.Controls.Add(Me.Label1) Me.Name = "FrmAddDevice" Me.Text = "新增设备" Me.ResumeLayout(False) Me.PerformLayout() End Sub Friend WithEvents Label1 As Label Friend WithEvents Label2 As Label Friend WithEvents TextBox1 As TextBox Friend WithEvents TextBox2 As TextBox Friend WithEvents Label3 As Label Friend WithEvents TextBox3 As TextBox Friend WithEvents Label4 As Label Friend WithEvents TextBox4 As TextBox Friend WithEvents Label5 As Label Friend WithEvents TextBox5 As TextBox Friend WithEvents Label6 As Label Friend WithEvents TextBox6 As TextBox Friend WithEvents Label7 As Label Friend WithEvents TextBox7 As TextBox Friend WithEvents Label8 As Label Friend WithEvents Button1 As Button Friend WithEvents Button2 As Button End Class