_ Partial Class link_frm 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.TextBox1 = New System.Windows.Forms.TextBox() Me.Label1 = New System.Windows.Forms.Label() Me.Label2 = New System.Windows.Forms.Label() Me.TextBox2 = New System.Windows.Forms.TextBox() Me.Button1 = New System.Windows.Forms.Button() Me.Button2 = New System.Windows.Forms.Button() Me.SuspendLayout ' 'TextBox1 ' Me.TextBox1.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134,Byte)) Me.TextBox1.Location = New System.Drawing.Point(12, 31) Me.TextBox1.Name = "TextBox1" Me.TextBox1.Size = New System.Drawing.Size(254, 29) Me.TextBox1.TabIndex = 0 ' 'Label1 ' Me.Label1.Location = New System.Drawing.Point(3, 9) Me.Label1.Name = "Label1" Me.Label1.Size = New System.Drawing.Size(41, 19) Me.Label1.TabIndex = 1 Me.Label1.Text = "文本:" Me.Label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight ' 'Label2 ' Me.Label2.Location = New System.Drawing.Point(3, 66) Me.Label2.Name = "Label2" Me.Label2.Size = New System.Drawing.Size(41, 17) Me.Label2.TabIndex = 3 Me.Label2.Text = "链接文本:" Me.Label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight ' 'TextBox2 ' Me.TextBox2.Font = New System.Drawing.Font("宋体", 14.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134,Byte)) Me.TextBox2.Location = New System.Drawing.Point(12, 86) Me.TextBox2.Name = "TextBox2" Me.TextBox2.Size = New System.Drawing.Size(254, 29) Me.TextBox2.TabIndex = 2 ' 'Button1 ' Me.Button1.Location = New System.Drawing.Point(272, 86) Me.Button1.Name = "Button1" Me.Button1.Size = New System.Drawing.Size(69, 27) Me.Button1.TabIndex = 4 Me.Button1.Text = "选择文件" Me.Button1.UseVisualStyleBackColor = true ' 'Button2 ' Me.Button2.Location = New System.Drawing.Point(272, 119) Me.Button2.Name = "Button2" Me.Button2.Size = New System.Drawing.Size(69, 27) Me.Button2.TabIndex = 5 Me.Button2.Text = "确认" Me.Button2.UseVisualStyleBackColor = true ' 'link_frm ' Me.AutoScaleDimensions = New System.Drawing.SizeF(6!, 12!) Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font Me.ClientSize = New System.Drawing.Size(343, 152) Me.Controls.Add(Me.Button2) Me.Controls.Add(Me.Button1) Me.Controls.Add(Me.Label2) Me.Controls.Add(Me.TextBox2) Me.Controls.Add(Me.Label1) Me.Controls.Add(Me.TextBox1) Me.MaximizeBox = false Me.MinimizeBox = false Me.Name = "link_frm" Me.Text = "设置文件链接" Me.ResumeLayout(false) Me.PerformLayout End Sub Friend WithEvents TextBox1 As TextBox Friend WithEvents Label1 As Label Friend WithEvents Label2 As Label Friend WithEvents TextBox2 As TextBox Friend WithEvents Button1 As Button Friend WithEvents Button2 As Button End Class