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

📄 frmmodifyform.vb

📁 一个用vb开发的档案管理程序
💻 VB
📖 第 1 页 / 共 3 页
字号:
Option Strict Off
Option Explicit On
Friend Class frmModifyForm
	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 picScan As System.Windows.Forms.PictureBox
	Public WithEvents picEditFile As System.Windows.Forms.PictureBox
	Public WithEvents ExitB As System.Windows.Forms.Button
	Public WithEvents SaveAdd As System.Windows.Forms.Button
	Public WithEvents _txtFields_0 As System.Windows.Forms.TextBox
	Public WithEvents _txtFields_1 As System.Windows.Forms.TextBox
	Public WithEvents _txtFields_2 As System.Windows.Forms.TextBox
	Public WithEvents _txtFields_3 As System.Windows.Forms.TextBox
	Public WithEvents Label1 As System.Windows.Forms.Label
	Public WithEvents Picture1 As System.Windows.Forms.Panel
	Public WithEvents OpenDialog As AxMSComDlg.AxCommonDialog
	Public WithEvents _txtFields_4 As System.Windows.Forms.TextBox
	Public WithEvents lLeft_1 As System.Windows.Forms.Label
	Public WithEvents lTop_1 As System.Windows.Forms.Label
	Public WithEvents lRight_1 As System.Windows.Forms.Label
	Public WithEvents lBottom_1 As System.Windows.Forms.Label
	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 _lblLabels_0 As System.Windows.Forms.Label
	Public WithEvents _lblLabels_1 As System.Windows.Forms.Label
	Public WithEvents _lblLabels_2 As System.Windows.Forms.Label
	Public WithEvents _lblLabels_7 As System.Windows.Forms.Label
	Public WithEvents _lblLabels_3 As System.Windows.Forms.Label
	Public WithEvents Frame1 As System.Windows.Forms.GroupBox
	Public WithEvents _Line2_2 As System.Windows.Forms.Label
	Public WithEvents _Line3_1 As System.Windows.Forms.Label
	Public WithEvents _Line2_1 As System.Windows.Forms.Label
	Public WithEvents _Line1_3 As System.Windows.Forms.Label
	Public WithEvents _Line1_2 As System.Windows.Forms.Label
	Public WithEvents _Line1_1 As System.Windows.Forms.Label
	Public WithEvents _Line1_0 As System.Windows.Forms.Label
	Public WithEvents _Line2_0 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
	Public WithEvents lblLabels As Microsoft.VisualBasic.Compatibility.VB6.LabelArray
	Public WithEvents txtFields As Microsoft.VisualBasic.Compatibility.VB6.TextBoxArray
	'注意:以下过程是 Windows 窗体设计器所必需的
	'可以使用 Windows 窗体设计器来修改它。
	'不要使用代码编辑器来修改它。
	<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
		Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmModifyForm))
		Me.components = New System.ComponentModel.Container()
		Me.ToolTip1 = New System.Windows.Forms.ToolTip(components)
		Me.ToolTip1.Active = True
		Me.Frame1 = New System.Windows.Forms.GroupBox
		Me.picScan = New System.Windows.Forms.PictureBox
		Me.picEditFile = New System.Windows.Forms.PictureBox
		Me.ExitB = New System.Windows.Forms.Button
		Me.SaveAdd = New System.Windows.Forms.Button
		Me._txtFields_0 = New System.Windows.Forms.TextBox
		Me._txtFields_1 = New System.Windows.Forms.TextBox
		Me._txtFields_2 = New System.Windows.Forms.TextBox
		Me._txtFields_3 = New System.Windows.Forms.TextBox
		Me.Picture1 = New System.Windows.Forms.Panel
		Me.Label1 = New System.Windows.Forms.Label
		Me.OpenDialog = New AxMSComDlg.AxCommonDialog
		Me._txtFields_4 = New System.Windows.Forms.TextBox
		Me.lLeft_1 = New System.Windows.Forms.Label
		Me.lTop_1 = New System.Windows.Forms.Label
		Me.lRight_1 = New System.Windows.Forms.Label
		Me.lBottom_1 = New System.Windows.Forms.Label
		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._lblLabels_0 = New System.Windows.Forms.Label
		Me._lblLabels_1 = New System.Windows.Forms.Label
		Me._lblLabels_2 = New System.Windows.Forms.Label
		Me._lblLabels_7 = New System.Windows.Forms.Label
		Me._lblLabels_3 = New System.Windows.Forms.Label
		Me._Line2_2 = New System.Windows.Forms.Label
		Me._Line3_1 = New System.Windows.Forms.Label
		Me._Line2_1 = New System.Windows.Forms.Label
		Me._Line1_3 = New System.Windows.Forms.Label
		Me._Line1_2 = New System.Windows.Forms.Label
		Me._Line1_1 = New System.Windows.Forms.Label
		Me._Line1_0 = New System.Windows.Forms.Label
		Me._Line2_0 = 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)
		Me.lblLabels = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(components)
		Me.txtFields = New Microsoft.VisualBasic.Compatibility.VB6.TextBoxArray(components)
		CType(Me.OpenDialog, System.ComponentModel.ISupportInitialize).BeginInit()
		CType(Me.Line1, System.ComponentModel.ISupportInitialize).BeginInit()
		CType(Me.Line2, System.ComponentModel.ISupportInitialize).BeginInit()
		CType(Me.Line3, System.ComponentModel.ISupportInitialize).BeginInit()
		CType(Me.lblLabels, System.ComponentModel.ISupportInitialize).BeginInit()
		CType(Me.txtFields, System.ComponentModel.ISupportInitialize).BeginInit()
		Me.BackColor = System.Drawing.Color.FromARGB(192, 192, 192)
		Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
		Me.ClientSize = New System.Drawing.Size(491, 259)
		Me.Location = New System.Drawing.Point(3, 22)
		Me.Icon = CType(resources.GetObject("frmModifyForm.Icon"), System.Drawing.Icon)
		Me.MaximizeBox = False
		Me.MinimizeBox = False
		Me.ShowInTaskbar = False
		Me.StartPosition = System.Windows.Forms.FormStartPosition.WindowsDefaultLocation
		Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
		Me.ControlBox = True
		Me.Enabled = True
		Me.KeyPreview = False
		Me.Cursor = System.Windows.Forms.Cursors.Default
		Me.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.HelpButton = False
		Me.WindowState = System.Windows.Forms.FormWindowState.Normal
		Me.Name = "frmModifyForm"
		Me.Frame1.BackColor = System.Drawing.Color.FromARGB(192, 192, 192)
		Me.Frame1.ForeColor = System.Drawing.Color.FromARGB(255, 224, 192)
		Me.Frame1.Size = New System.Drawing.Size(470, 242)
		Me.Frame1.Location = New System.Drawing.Point(10, 7)
		Me.Frame1.TabIndex = 7
		Me.Frame1.Enabled = True
		Me.Frame1.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.Frame1.Visible = True
		Me.Frame1.Name = "Frame1"
		Me.picScan.BackColor = System.Drawing.Color.FromARGB(192, 192, 192)
		Me.picScan.Size = New System.Drawing.Size(16, 16)
		Me.picScan.Location = New System.Drawing.Point(363, 76)
		Me.picScan.Image = CType(resources.GetObject("picScan.Image"), System.Drawing.Image)
		Me.picScan.TabIndex = 16
		Me.ToolTip1.SetToolTip(Me.picScan, "扫描文件")
		Me.picScan.Dock = System.Windows.Forms.DockStyle.None
		Me.picScan.CausesValidation = True
		Me.picScan.Enabled = True
		Me.picScan.ForeColor = System.Drawing.SystemColors.ControlText
		Me.picScan.Cursor = System.Windows.Forms.Cursors.Default
		Me.picScan.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.picScan.TabStop = True
		Me.picScan.Visible = True
		Me.picScan.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize
		Me.picScan.BorderStyle = System.Windows.Forms.BorderStyle.None
		Me.picScan.Name = "picScan"
		Me.picEditFile.BackColor = System.Drawing.Color.FromARGB(192, 192, 192)
		Me.picEditFile.Size = New System.Drawing.Size(16, 16)
		Me.picEditFile.Location = New System.Drawing.Point(335, 74)
		Me.picEditFile.Image = CType(resources.GetObject("picEditFile.Image"), System.Drawing.Image)
		Me.picEditFile.TabIndex = 15
		Me.ToolTip1.SetToolTip(Me.picEditFile, "请选择文件")
		Me.picEditFile.Dock = System.Windows.Forms.DockStyle.None
		Me.picEditFile.CausesValidation = True
		Me.picEditFile.Enabled = True
		Me.picEditFile.ForeColor = System.Drawing.SystemColors.ControlText
		Me.picEditFile.Cursor = System.Windows.Forms.Cursors.Default
		Me.picEditFile.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.picEditFile.TabStop = True
		Me.picEditFile.Visible = True
		Me.picEditFile.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize
		Me.picEditFile.BorderStyle = System.Windows.Forms.BorderStyle.None
		Me.picEditFile.Name = "picEditFile"
		Me.ExitB.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
		Me.ExitB.BackColor = System.Drawing.SystemColors.Control
		Me.CancelButton = Me.ExitB
		Me.ExitB.Text = "关闭返回"
		Me.ExitB.Size = New System.Drawing.Size(91, 27)
		Me.ExitB.Location = New System.Drawing.Point(359, 27)
		Me.ExitB.TabIndex = 6
		Me.ExitB.CausesValidation = True
		Me.ExitB.Enabled = True
		Me.ExitB.ForeColor = System.Drawing.SystemColors.ControlText
		Me.ExitB.Cursor = System.Windows.Forms.Cursors.Default
		Me.ExitB.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.ExitB.TabStop = True
		Me.ExitB.Name = "ExitB"
		Me.SaveAdd.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
		Me.SaveAdd.BackColor = System.Drawing.SystemColors.Control
		Me.SaveAdd.Text = "保存记录"
		Me.SaveAdd.Size = New System.Drawing.Size(91, 27)
		Me.SaveAdd.Location = New System.Drawing.Point(264, 27)
		Me.SaveAdd.TabIndex = 5
		Me.SaveAdd.CausesValidation = True
		Me.SaveAdd.Enabled = True
		Me.SaveAdd.ForeColor = System.Drawing.SystemColors.ControlText
		Me.SaveAdd.Cursor = System.Windows.Forms.Cursors.Default
		Me.SaveAdd.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.SaveAdd.TabStop = True
		Me.SaveAdd.Name = "SaveAdd"
		Me._txtFields_0.AutoSize = False
		Me._txtFields_0.BackColor = System.Drawing.Color.White
		Me._txtFields_0.ForeColor = System.Drawing.Color.Black
		Me._txtFields_0.Size = New System.Drawing.Size(144, 19)
		Me._txtFields_0.Location = New System.Drawing.Point(103, 30)
		Me._txtFields_0.Maxlength = 50
		Me._txtFields_0.TabIndex = 0
		Me._txtFields_0.AcceptsReturn = True
		Me._txtFields_0.TextAlign = System.Windows.Forms.HorizontalAlignment.Left
		Me._txtFields_0.CausesValidation = True
		Me._txtFields_0.Enabled = True
		Me._txtFields_0.HideSelection = True
		Me._txtFields_0.ReadOnly = False
		Me._txtFields_0.Cursor = System.Windows.Forms.Cursors.IBeam
		Me._txtFields_0.MultiLine = False
		Me._txtFields_0.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me._txtFields_0.ScrollBars = System.Windows.Forms.ScrollBars.None
		Me._txtFields_0.TabStop = True
		Me._txtFields_0.Visible = True
		Me._txtFields_0.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
		Me._txtFields_0.Name = "_txtFields_0"
		Me._txtFields_1.AutoSize = False
		Me._txtFields_1.BackColor = System.Drawing.Color.White
		Me._txtFields_1.ForeColor = System.Drawing.Color.Black
		Me._txtFields_1.Size = New System.Drawing.Size(225, 19)
		Me._txtFields_1.Location = New System.Drawing.Point(103, 74)
		Me._txtFields_1.Maxlength = 50
		Me._txtFields_1.TabIndex = 1
		Me._txtFields_1.AcceptsReturn = True
		Me._txtFields_1.TextAlign = System.Windows.Forms.HorizontalAlignment.Left
		Me._txtFields_1.CausesValidation = True
		Me._txtFields_1.Enabled = True
		Me._txtFields_1.HideSelection = True
		Me._txtFields_1.ReadOnly = False
		Me._txtFields_1.Cursor = System.Windows.Forms.Cursors.IBeam
		Me._txtFields_1.MultiLine = False
		Me._txtFields_1.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me._txtFields_1.ScrollBars = System.Windows.Forms.ScrollBars.None
		Me._txtFields_1.TabStop = True
		Me._txtFields_1.Visible = True
		Me._txtFields_1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
		Me._txtFields_1.Name = "_txtFields_1"
		Me._txtFields_2.AutoSize = False
		Me._txtFields_2.BackColor = System.Drawing.Color.White
		Me._txtFields_2.ForeColor = System.Drawing.Color.Black
		Me._txtFields_2.Size = New System.Drawing.Size(347, 45)
		Me._txtFields_2.Location = New System.Drawing.Point(103, 99)
		Me._txtFields_2.Maxlength = 100
		Me._txtFields_2.MultiLine = True
		Me._txtFields_2.ScrollBars = System.Windows.Forms.ScrollBars.Vertical
		Me._txtFields_2.TabIndex = 2
		Me._txtFields_2.AcceptsReturn = True
		Me._txtFields_2.TextAlign = System.Windows.Forms.HorizontalAlignment.Left
		Me._txtFields_2.CausesValidation = True
		Me._txtFields_2.Enabled = True
		Me._txtFields_2.HideSelection = True
		Me._txtFields_2.ReadOnly = False
		Me._txtFields_2.Cursor = System.Windows.Forms.Cursors.IBeam
		Me._txtFields_2.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me._txtFields_2.TabStop = True
		Me._txtFields_2.Visible = True
		Me._txtFields_2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
		Me._txtFields_2.Name = "_txtFields_2"
		Me._txtFields_3.AutoSize = False
		Me._txtFields_3.BackColor = System.Drawing.Color.White
		Me._txtFields_3.ForeColor = System.Drawing.Color.Black
		Me._txtFields_3.Size = New System.Drawing.Size(348, 45)
		Me._txtFields_3.Location = New System.Drawing.Point(103, 149)
		Me._txtFields_3.Maxlength = 50
		Me._txtFields_3.MultiLine = True
		Me._txtFields_3.ScrollBars = System.Windows.Forms.ScrollBars.Vertical
		Me._txtFields_3.TabIndex = 3
		Me._txtFields_3.AcceptsReturn = True
		Me._txtFields_3.TextAlign = System.Windows.Forms.HorizontalAlignment.Left
		Me._txtFields_3.CausesValidation = True
		Me._txtFields_3.Enabled = True
		Me._txtFields_3.HideSelection = True
		Me._txtFields_3.ReadOnly = False
		Me._txtFields_3.Cursor = System.Windows.Forms.Cursors.IBeam
		Me._txtFields_3.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me._txtFields_3.TabStop = True
		Me._txtFields_3.Visible = True
		Me._txtFields_3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
		Me._txtFields_3.Name = "_txtFields_3"
		Me.Picture1.BackColor = System.Drawing.Color.FromARGB(192, 0, 0)
		Me.Picture1.Size = New System.Drawing.Size(81, 15)
		Me.Picture1.Location = New System.Drawing.Point(368, 201)
		Me.Picture1.TabIndex = 8
		Me.Picture1.Dock = System.Windows.Forms.DockStyle.None
		Me.Picture1.CausesValidation = True
		Me.Picture1.Enabled = True
		Me.Picture1.ForeColor = System.Drawing.SystemColors.ControlText
		Me.Picture1.Cursor = System.Windows.Forms.Cursors.Default
		Me.Picture1.RightToLeft = System.Windows.Forms.RightToLeft.No
		Me.Picture1.TabStop = True
		Me.Picture1.Visible = True
		Me.Picture1.BorderStyle = System.Windows.Forms.BorderStyle.None
		Me.Picture1.Name = "Picture1"
		Me.Label1.Text = "==>>禁止修改!"
		Me.Label1.ForeColor = System.Drawing.Color.White
		Me.Label1.Size = New System.Drawing.Size(78, 12)
		Me.Label1.Location = New System.Drawing.Point(2, 1)
		Me.Label1.TabIndex = 9
		Me.Label1.TextAlign = System.Drawing.ContentAlignment.TopLeft
		Me.Label1.BackColor = System.Drawing.Color.Transparent
		Me.Label1.Enabled = True

⌨️ 快捷键说明

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