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

📄 netdata.vb

📁 一个用vb开发的档案管理程序
💻 VB
📖 第 1 页 / 共 2 页
字号:
Option Strict Off
Option Explicit On
Imports VB = Microsoft.VisualBasic
Friend Class NetData
	Inherits System.Windows.Forms.Form
#Region "Windows 窗体设计器生成的代码"
	Public Sub New()
		MyBase.New()
		If m_vb6FormDefInstance Is Nothing Then
			If m_InitializingDefInstance Then
				m_vb6FormDefInstance = Me
			Else
				Try 
					'对于启动窗体,所创建的第一个实例为默认实例。
					If System.Reflection.Assembly.GetExecutingAssembly.EntryPoint.DeclaringType Is Me.GetType Then
						m_vb6FormDefInstance = Me
					End If
				Catch
				End Try
			End If
		End If
		'此调用是 Windows 窗体设计器所必需的。
		InitializeComponent()
	End Sub
	'窗体重写处置,以清理组件列表。
	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
	Public ToolTip1 As System.Windows.Forms.ToolTip
	Public WithEvents cmdBrowse As System.Windows.Forms.PictureBox
	Public WithEvents NetDataPath As System.Windows.Forms.TextBox
	Public WithEvents NetCancel As System.Windows.Forms.Button
	Public WithEvents OK As System.Windows.Forms.Button
	Public WithEvents lBottom As System.Windows.Forms.Label
	Public WithEvents lRight As System.Windows.Forms.Label
	Public WithEvents lTop As System.Windows.Forms.Label
	Public WithEvents lLeft As System.Windows.Forms.Label
	Public WithEvents _Line1_4 As System.Windows.Forms.Label
	Public WithEvents _Line1_1 As System.Windows.Forms.Label
	Public WithEvents _Line1_2 As System.Windows.Forms.Label
	Public WithEvents _Line1_3 As System.Windows.Forms.Label
	Public WithEvents _Line2_2 As System.Windows.Forms.Label
	Public WithEvents _Line3_2 As System.Windows.Forms.Label
	Public WithEvents _Line2_1 As System.Windows.Forms.Label
	Public WithEvents _Line3_1 As System.Windows.Forms.Label
	Public WithEvents Image1 As System.Windows.Forms.PictureBox
	Public WithEvents Line4 As System.Windows.Forms.Label
	Public WithEvents _Line3_0 As System.Windows.Forms.Label
	Public WithEvents _Line2_0 As System.Windows.Forms.Label
	Public WithEvents _Line1_0 As System.Windows.Forms.Label
	Public WithEvents Label1 As System.Windows.Forms.Label
	Public WithEvents Line1 As Microsoft.VisualBasic.Compatibility.VB6.LabelArray
	Public WithEvents Line2 As Microsoft.VisualBasic.Compatibility.VB6.LabelArray
	Public WithEvents Line3 As Microsoft.VisualBasic.Compatibility.VB6.LabelArray
	'注意:以下过程是 Windows 窗体设计器所必需的
	'可以使用 Windows 窗体设计器来修改它。
	'不要使用代码编辑器来修改它。
	<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
		Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(NetData))
		Me.components = New System.ComponentModel.Container()
		Me.ToolTip1 = New System.Windows.Forms.ToolTip(components)
		Me.ToolTip1.Active = True
		Me.cmdBrowse = New System.Windows.Forms.PictureBox
		Me.NetDataPath = New System.Windows.Forms.TextBox
		Me.NetCancel = New System.Windows.Forms.Button
		Me.OK = New System.Windows.Forms.Button
		Me.lBottom = New System.Windows.Forms.Label
		Me.lRight = New System.Windows.Forms.Label
		Me.lTop = New System.Windows.Forms.Label
		Me.lLeft = New System.Windows.Forms.Label
		Me._Line1_4 = New System.Windows.Forms.Label
		Me._Line1_1 = New System.Windows.Forms.Label
		Me._Line1_2 = New System.Windows.Forms.Label
		Me._Line1_3 = New System.Windows.Forms.Label
		Me._Line2_2 = New System.Windows.Forms.Label
		Me._Line3_2 = New System.Windows.Forms.Label
		Me._Line2_1 = New System.Windows.Forms.Label
		Me._Line3_1 = New System.Windows.Forms.Label
		Me.Image1 = New System.Windows.Forms.PictureBox
		Me.Line4 = New System.Windows.Forms.Label
		Me._Line3_0 = New System.Windows.Forms.Label
		Me._Line2_0 = New System.Windows.Forms.Label
		Me._Line1_0 = New System.Windows.Forms.Label
		Me.Label1 = New System.Windows.Forms.Label
		Me.Line1 = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(components)
		Me.Line2 = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(components)
		Me.Line3 = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(components)
		CType(Me.Line1, System.ComponentModel.ISupportInitialize).BeginInit()
		CType(Me.Line2, System.ComponentModel.ISupportInitialize).BeginInit()
		CType(Me.Line3, System.ComponentModel.ISupportInitialize).BeginInit()
		Me.StartPosition = System.Windows.Forms.FormStartPosition.Manual
		Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle
		Me.Text = "网络数据库配置"
		Me.ClientSize = New System.Drawing.Size(424, 95)
		Me.Location = New System.Drawing.Point(3, 22)
		Me.Icon = CType(resources.GetObject("NetData.Icon"), System.Drawing.Icon)
		Me.MaximizeBox = False
		Me.MinimizeBox = False
		Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
		Me.BackColor = System.Drawing.SystemColors.Control
		Me.ControlBox = True
		Me.Enabled = True
		Me.KeyPreview = False
		Me.Cursor = System.Windows.Forms.Cursors.Default
		Me.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.ShowInTaskbar = True
		Me.HelpButton = False
		Me.WindowState = System.Windows.Forms.FormWindowState.Normal
		Me.Name = "NetData"
		Me.cmdBrowse.BackColor = System.Drawing.Color.FromARGB(192, 192, 192)
		Me.cmdBrowse.Size = New System.Drawing.Size(16, 16)
		Me.cmdBrowse.Location = New System.Drawing.Point(277, 30)
		Me.cmdBrowse.Image = CType(resources.GetObject("cmdBrowse.Image"), System.Drawing.Image)
		Me.cmdBrowse.TabIndex = 4
		Me.ToolTip1.SetToolTip(Me.cmdBrowse, "请选择网络路径")
		Me.cmdBrowse.Dock = System.Windows.Forms.DockStyle.None
		Me.cmdBrowse.CausesValidation = True
		Me.cmdBrowse.Enabled = True
		Me.cmdBrowse.ForeColor = System.Drawing.SystemColors.ControlText
		Me.cmdBrowse.Cursor = System.Windows.Forms.Cursors.Default
		Me.cmdBrowse.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.cmdBrowse.TabStop = True
		Me.cmdBrowse.Visible = True
		Me.cmdBrowse.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize
		Me.cmdBrowse.BorderStyle = System.Windows.Forms.BorderStyle.None
		Me.cmdBrowse.Name = "cmdBrowse"
		Me.NetDataPath.AutoSize = False
		Me.NetDataPath.BackColor = System.Drawing.Color.White
		Me.NetDataPath.Font = New System.Drawing.Font("宋体", 10.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
		Me.NetDataPath.ForeColor = System.Drawing.Color.FromARGB(0, 0, 192)
		Me.NetDataPath.Size = New System.Drawing.Size(247, 22)
		Me.NetDataPath.Location = New System.Drawing.Point(23, 28)
		Me.NetDataPath.Maxlength = 250
		Me.NetDataPath.TabIndex = 0
		Me.NetDataPath.AcceptsReturn = True
		Me.NetDataPath.TextAlign = System.Windows.Forms.HorizontalAlignment.Left
		Me.NetDataPath.CausesValidation = True
		Me.NetDataPath.Enabled = True
		Me.NetDataPath.HideSelection = True
		Me.NetDataPath.ReadOnly = False
		Me.NetDataPath.Cursor = System.Windows.Forms.Cursors.IBeam
		Me.NetDataPath.MultiLine = False
		Me.NetDataPath.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.NetDataPath.ScrollBars = System.Windows.Forms.ScrollBars.None
		Me.NetDataPath.TabStop = True
		Me.NetDataPath.Visible = True
		Me.NetDataPath.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
		Me.NetDataPath.Name = "NetDataPath"
		Me.NetCancel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
		Me.CancelButton = Me.NetCancel
		Me.NetCancel.Text = "取消(&C)"
		Me.NetCancel.Size = New System.Drawing.Size(88, 27)
		Me.NetCancel.Location = New System.Drawing.Point(320, 45)
		Me.NetCancel.TabIndex = 2
		Me.NetCancel.BackColor = System.Drawing.SystemColors.Control
		Me.NetCancel.CausesValidation = True
		Me.NetCancel.Enabled = True
		Me.NetCancel.ForeColor = System.Drawing.SystemColors.ControlText
		Me.NetCancel.Cursor = System.Windows.Forms.Cursors.Default
		Me.NetCancel.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.NetCancel.TabStop = True
		Me.NetCancel.Name = "NetCancel"
		Me.OK.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
		Me.OK.Text = "确定(&O)"
		Me.AcceptButton = Me.OK
		Me.OK.Enabled = False
		Me.OK.Size = New System.Drawing.Size(88, 27)
		Me.OK.Location = New System.Drawing.Point(320, 16)
		Me.OK.TabIndex = 1
		Me.OK.BackColor = System.Drawing.SystemColors.Control
		Me.OK.CausesValidation = True
		Me.OK.ForeColor = System.Drawing.SystemColors.ControlText
		Me.OK.Cursor = System.Windows.Forms.Cursors.Default
		Me.OK.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.OK.TabStop = True
		Me.OK.Name = "OK"
		Me.lBottom.BackColor = System.Drawing.Color.FromARGB(128, 128, 128)
		Me.lBottom.Visible = False
		Me.lBottom.Location = New System.Drawing.Point(275, 49)
		Me.lBottom.Width = 20
		Me.lBottom.Height = 1
		Me.lBottom.Name = "lBottom"
		Me.lRight.BackColor = System.Drawing.Color.White
		Me.lRight.Visible = False
		Me.lRight.Location = New System.Drawing.Point(295, 28)
		Me.lRight.Width = 1
		Me.lRight.Height = 21
		Me.lRight.Name = "lRight"
		Me.lTop.BackColor = System.Drawing.Color.White
		Me.lTop.Visible = False
		Me.lTop.Location = New System.Drawing.Point(274, 28)
		Me.lTop.Width = 21
		Me.lTop.Height = 1
		Me.lTop.Name = "lTop"
		Me.lLeft.BackColor = System.Drawing.Color.FromARGB(128, 128, 128)
		Me.lLeft.Visible = False
		Me.lLeft.Location = New System.Drawing.Point(274, 28)
		Me.lLeft.Width = 1
		Me.lLeft.Height = 22
		Me.lLeft.Name = "lLeft"
		Me._Line1_4.BackColor = System.Drawing.Color.FromARGB(128, 128, 128)
		Me._Line1_4.Visible = True
		Me._Line1_4.Location = New System.Drawing.Point(0, 0)
		Me._Line1_4.Width = 423
		Me._Line1_4.Height = 1
		Me._Line1_4.Name = "_Line1_4"
		Me._Line1_1.BackColor = System.Drawing.Color.FromARGB(224, 224, 224)
		Me._Line1_1.Visible = True
		Me._Line1_1.Location = New System.Drawing.Point(2, 1)
		Me._Line1_1.Width = 420
		Me._Line1_1.Height = 1
		Me._Line1_1.Name = "_Line1_1"
		Me._Line1_2.BackColor = System.Drawing.Color.FromARGB(224, 224, 224)
		Me._Line1_2.Visible = True
		Me._Line1_2.Location = New System.Drawing.Point(1, 94)
		Me._Line1_2.Width = 421
		Me._Line1_2.Height = 1
		Me._Line1_2.Name = "_Line1_2"
		Me._Line1_3.BackColor = System.Drawing.Color.FromARGB(128, 128, 128)
		Me._Line1_3.Visible = True
		Me._Line1_3.Location = New System.Drawing.Point(2, 93)
		Me._Line1_3.Width = 420
		Me._Line1_3.Height = 1
		Me._Line1_3.Name = "_Line1_3"
		Me._Line2_2.BackColor = System.Drawing.Color.FromARGB(128, 128, 128)
		Me._Line2_2.Visible = True
		Me._Line2_2.Location = New System.Drawing.Point(0, 0)
		Me._Line2_2.Width = 1
		Me._Line2_2.Height = 94
		Me._Line2_2.Name = "_Line2_2"
		Me._Line3_2.BackColor = System.Drawing.Color.FromARGB(224, 224, 224)
		Me._Line3_2.Visible = True
		Me._Line3_2.Location = New System.Drawing.Point(1, 1)
		Me._Line3_2.Width = 1
		Me._Line3_2.Height = 93
		Me._Line3_2.Name = "_Line3_2"
		Me._Line2_1.BackColor = System.Drawing.Color.FromARGB(128, 128, 128)
		Me._Line2_1.Visible = True
		Me._Line2_1.Location = New System.Drawing.Point(422, 0)
		Me._Line2_1.Width = 1
		Me._Line2_1.Height = 94
		Me._Line2_1.Name = "_Line2_1"
		Me._Line3_1.BackColor = System.Drawing.Color.FromARGB(224, 224, 224)
		Me._Line3_1.Visible = True
		Me._Line3_1.Location = New System.Drawing.Point(423, 0)
		Me._Line3_1.Width = 1
		Me._Line3_1.Height = 94
		Me._Line3_1.Name = "_Line3_1"
		Me.Image1.Size = New System.Drawing.Size(32, 32)
		Me.Image1.Location = New System.Drawing.Point(17, 48)
		Me.Image1.Image = CType(resources.GetObject("Image1.Image"), System.Drawing.Image)
		Me.Image1.Enabled = True
		Me.Image1.Cursor = System.Windows.Forms.Cursors.Default
		Me.Image1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Normal
		Me.Image1.Visible = True
		Me.Image1.BorderStyle = System.Windows.Forms.BorderStyle.None
		Me.Image1.Name = "Image1"
		Me.Line4.BackColor = System.Drawing.SystemColors.WindowText
		Me.Line4.Visible = True
		Me.Line4.Location = New System.Drawing.Point(10, 15)
		Me.Line4.Width = 294
		Me.Line4.Height = 1
		Me.Line4.Name = "Line4"
		Me._Line3_0.BackColor = System.Drawing.Color.White
		Me._Line3_0.Visible = True
		Me._Line3_0.Location = New System.Drawing.Point(9, 77)
		Me._Line3_0.Width = 295

⌨️ 快捷键说明

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