📄 configform.vb
字号:
Option Strict Off
Option Explicit On
Friend Class ConfigForm
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()
'此窗体是 MDI 子窗体。
'此代码模拟 VB6
'的自动加载和显示
' MDI 子级的父级
'的功能。
Me.MDIParent = 档案管理系统.frmMain.DefInstance.DefInstance
档案管理系统.frmMain.DefInstance.DefInstance.Show
'VB6 项目中的 MDI 窗体已将其
'AutoShowChildren 属性设置为“真”
'要模拟 VB6 行为,需要
'在每次加载窗体时自动显示
'该窗体。如果您不需要此行为,
'请删除以下代码行
'UPGRADE_NOTE: 移除下一行代码以阻止窗体自动显示。 单击以获得更多信息:'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="vbup2018"'
Me.Show
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 Data1 As System.Windows.Forms.Label
Public WithEvents _CC_4 As System.Windows.Forms.TextBox
Public WithEvents _CC_3 As System.Windows.Forms.TextBox
Public WithEvents _CC_2 As System.Windows.Forms.TextBox
Public WithEvents _CC_1 As System.Windows.Forms.TextBox
Public WithEvents _Label3_3 As System.Windows.Forms.Label
Public WithEvents _Label3_2 As System.Windows.Forms.Label
Public WithEvents _Label3_1 As System.Windows.Forms.Label
Public WithEvents _Label3_0 As System.Windows.Forms.Label
Public WithEvents Picture2 As System.Windows.Forms.Panel
Public WithEvents CancelExit As System.Windows.Forms.Button
Public WithEvents OkSave As System.Windows.Forms.Button
Public WithEvents Command1 As System.Windows.Forms.Button
Public WithEvents _CC_5 As System.Windows.Forms.TextBox
Public WithEvents Label2 As System.Windows.Forms.Label
Public WithEvents Frame3 As System.Windows.Forms.GroupBox
Public WithEvents _CC_0 As System.Windows.Forms.TextBox
Public WithEvents Frame1 As System.Windows.Forms.GroupBox
Public WithEvents Label1 As System.Windows.Forms.Label
Public WithEvents Picture1 As System.Windows.Forms.Panel
Public WithEvents CC As Microsoft.VisualBasic.Compatibility.VB6.TextBoxArray
Public WithEvents Label3 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(ConfigForm))
Me.components = New System.ComponentModel.Container()
Me.ToolTip1 = New System.Windows.Forms.ToolTip(components)
Me.ToolTip1.Active = True
Me.Data1 = New System.Windows.Forms.Label
Me.Picture2 = New System.Windows.Forms.Panel
Me._CC_4 = New System.Windows.Forms.TextBox
Me._CC_3 = New System.Windows.Forms.TextBox
Me._CC_2 = New System.Windows.Forms.TextBox
Me._CC_1 = New System.Windows.Forms.TextBox
Me._Label3_3 = New System.Windows.Forms.Label
Me._Label3_2 = New System.Windows.Forms.Label
Me._Label3_1 = New System.Windows.Forms.Label
Me._Label3_0 = New System.Windows.Forms.Label
Me.CancelExit = New System.Windows.Forms.Button
Me.OkSave = New System.Windows.Forms.Button
Me.Frame3 = New System.Windows.Forms.GroupBox
Me.Command1 = New System.Windows.Forms.Button
Me._CC_5 = New System.Windows.Forms.TextBox
Me.Label2 = New System.Windows.Forms.Label
Me.Frame1 = New System.Windows.Forms.GroupBox
Me._CC_0 = New System.Windows.Forms.TextBox
Me.Picture1 = New System.Windows.Forms.Panel
Me.Label1 = New System.Windows.Forms.Label
Me.CC = New Microsoft.VisualBasic.Compatibility.VB6.TextBoxArray(components)
Me.Label3 = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(components)
CType(Me.CC, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.Label3, System.ComponentModel.ISupportInitialize).BeginInit()
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
Me.Text = "系统配置"
Me.ClientSize = New System.Drawing.Size(416, 300)
Me.Location = New System.Drawing.Point(3, 22)
Me.ControlBox = False
Me.MaximizeBox = False
Me.StartPosition = System.Windows.Forms.FormStartPosition.WindowsDefaultBounds
Me.MinimizeBox = False
Me.ShowInTaskbar = False
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.BackColor = System.Drawing.SystemColors.Control
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 = "ConfigForm"
Me.Data1.Text = "Data1"
Me.Data1.Size = New System.Drawing.Size(76, 21)
Me.Data1.Location = New System.Drawing.Point(-80, 280)
Me.Data1.BackColor = System.Drawing.Color.Red
Me.Data1.ForeColor = System.Drawing.Color.Black
Me.Data1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.Data1.Text = "Data1"
Me.Data1.Name = "Data1"
Me.Picture2.Size = New System.Drawing.Size(391, 85)
Me.Picture2.Location = New System.Drawing.Point(12, 111)
Me.Picture2.TabIndex = 14
Me.Picture2.Dock = System.Windows.Forms.DockStyle.None
Me.Picture2.BackColor = System.Drawing.SystemColors.Control
Me.Picture2.CausesValidation = True
Me.Picture2.Enabled = True
Me.Picture2.ForeColor = System.Drawing.SystemColors.ControlText
Me.Picture2.Cursor = System.Windows.Forms.Cursors.Default
Me.Picture2.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Picture2.TabStop = True
Me.Picture2.Visible = True
Me.Picture2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me.Picture2.Name = "Picture2"
Me._CC_4.AutoSize = False
Me._CC_4.Size = New System.Drawing.Size(304, 18)
Me._CC_4.Location = New System.Drawing.Point(72, 55)
Me._CC_4.Maxlength = 40
Me._CC_4.TabIndex = 4
Me._CC_4.AcceptsReturn = True
Me._CC_4.TextAlign = System.Windows.Forms.HorizontalAlignment.Left
Me._CC_4.BackColor = System.Drawing.SystemColors.Window
Me._CC_4.CausesValidation = True
Me._CC_4.Enabled = True
Me._CC_4.ForeColor = System.Drawing.SystemColors.WindowText
Me._CC_4.HideSelection = True
Me._CC_4.ReadOnly = False
Me._CC_4.Cursor = System.Windows.Forms.Cursors.IBeam
Me._CC_4.MultiLine = False
Me._CC_4.RightToLeft = System.Windows.Forms.RightToLeft.No
Me._CC_4.ScrollBars = System.Windows.Forms.ScrollBars.None
Me._CC_4.TabStop = True
Me._CC_4.Visible = True
Me._CC_4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me._CC_4.Name = "_CC_4"
Me._CC_3.AutoSize = False
Me._CC_3.Size = New System.Drawing.Size(98, 18)
Me._CC_3.Location = New System.Drawing.Point(278, 31)
Me._CC_3.Maxlength = 5
Me._CC_3.TabIndex = 3
Me._CC_3.AcceptsReturn = True
Me._CC_3.TextAlign = System.Windows.Forms.HorizontalAlignment.Left
Me._CC_3.BackColor = System.Drawing.SystemColors.Window
Me._CC_3.CausesValidation = True
Me._CC_3.Enabled = True
Me._CC_3.ForeColor = System.Drawing.SystemColors.WindowText
Me._CC_3.HideSelection = True
Me._CC_3.ReadOnly = False
Me._CC_3.Cursor = System.Windows.Forms.Cursors.IBeam
Me._CC_3.MultiLine = False
Me._CC_3.RightToLeft = System.Windows.Forms.RightToLeft.No
Me._CC_3.ScrollBars = System.Windows.Forms.ScrollBars.None
Me._CC_3.TabStop = True
Me._CC_3.Visible = True
Me._CC_3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me._CC_3.Name = "_CC_3"
Me._CC_2.AutoSize = False
Me._CC_2.Size = New System.Drawing.Size(132, 18)
Me._CC_2.Location = New System.Drawing.Point(73, 32)
Me._CC_2.Maxlength = 40
Me._CC_2.TabIndex = 2
Me._CC_2.AcceptsReturn = True
Me._CC_2.TextAlign = System.Windows.Forms.HorizontalAlignment.Left
Me._CC_2.BackColor = System.Drawing.SystemColors.Window
Me._CC_2.CausesValidation = True
Me._CC_2.Enabled = True
Me._CC_2.ForeColor = System.Drawing.SystemColors.WindowText
Me._CC_2.HideSelection = True
Me._CC_2.ReadOnly = False
Me._CC_2.Cursor = System.Windows.Forms.Cursors.IBeam
Me._CC_2.MultiLine = False
Me._CC_2.RightToLeft = System.Windows.Forms.RightToLeft.No
Me._CC_2.ScrollBars = System.Windows.Forms.ScrollBars.None
Me._CC_2.TabStop = True
Me._CC_2.Visible = True
Me._CC_2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me._CC_2.Name = "_CC_2"
Me._CC_1.AutoSize = False
Me._CC_1.Size = New System.Drawing.Size(303, 18)
Me._CC_1.Location = New System.Drawing.Point(73, 9)
Me._CC_1.Maxlength = 40
Me._CC_1.TabIndex = 1
Me._CC_1.AcceptsReturn = True
Me._CC_1.TextAlign = System.Windows.Forms.HorizontalAlignment.Left
Me._CC_1.BackColor = System.Drawing.SystemColors.Window
Me._CC_1.CausesValidation = True
Me._CC_1.Enabled = True
Me._CC_1.ForeColor = System.Drawing.SystemColors.WindowText
Me._CC_1.HideSelection = True
Me._CC_1.ReadOnly = False
Me._CC_1.Cursor = System.Windows.Forms.Cursors.IBeam
Me._CC_1.MultiLine = False
Me._CC_1.RightToLeft = System.Windows.Forms.RightToLeft.No
Me._CC_1.ScrollBars = System.Windows.Forms.ScrollBars.None
Me._CC_1.TabStop = True
Me._CC_1.Visible = True
Me._CC_1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me._CC_1.Name = "_CC_1"
Me._Label3_3.Text = "负责人:"
Me._Label3_3.Size = New System.Drawing.Size(53, 12)
Me._Label3_3.Location = New System.Drawing.Point(224, 34)
Me._Label3_3.TabIndex = 18
Me._Label3_3.TextAlign = System.Drawing.ContentAlignment.TopLeft
Me._Label3_3.BackColor = System.Drawing.SystemColors.Control
Me._Label3_3.Enabled = True
Me._Label3_3.ForeColor = System.Drawing.SystemColors.ControlText
Me._Label3_3.Cursor = System.Windows.Forms.Cursors.Default
Me._Label3_3.RightToLeft = System.Windows.Forms.RightToLeft.No
Me._Label3_3.UseMnemonic = True
Me._Label3_3.Visible = True
Me._Label3_3.AutoSize = False
Me._Label3_3.BorderStyle = System.Windows.Forms.BorderStyle.None
Me._Label3_3.Name = "_Label3_3"
Me._Label3_2.Text = "公司地址:"
Me._Label3_2.Size = New System.Drawing.Size(60, 12)
Me._Label3_2.Location = New System.Drawing.Point(12, 56)
Me._Label3_2.TabIndex = 17
Me._Label3_2.TextAlign = System.Drawing.ContentAlignment.TopLeft
Me._Label3_2.BackColor = System.Drawing.SystemColors.Control
Me._Label3_2.Enabled = True
Me._Label3_2.ForeColor = System.Drawing.SystemColors.ControlText
Me._Label3_2.Cursor = System.Windows.Forms.Cursors.Default
Me._Label3_2.RightToLeft = System.Windows.Forms.RightToLeft.No
Me._Label3_2.UseMnemonic = True
Me._Label3_2.Visible = True
Me._Label3_2.AutoSize = True
Me._Label3_2.BorderStyle = System.Windows.Forms.BorderStyle.None
Me._Label3_2.Name = "_Label3_2"
Me._Label3_1.Text = "公司传真:"
Me._Label3_1.Size = New System.Drawing.Size(60, 12)
Me._Label3_1.Location = New System.Drawing.Point(12, 34)
Me._Label3_1.TabIndex = 16
Me._Label3_1.TextAlign = System.Drawing.ContentAlignment.TopLeft
Me._Label3_1.BackColor = System.Drawing.SystemColors.Control
Me._Label3_1.Enabled = True
Me._Label3_1.ForeColor = System.Drawing.SystemColors.ControlText
Me._Label3_1.Cursor = System.Windows.Forms.Cursors.Default
Me._Label3_1.RightToLeft = System.Windows.Forms.RightToLeft.No
Me._Label3_1.UseMnemonic = True
Me._Label3_1.Visible = True
Me._Label3_1.AutoSize = True
Me._Label3_1.BorderStyle = System.Windows.Forms.BorderStyle.None
Me._Label3_1.Name = "_Label3_1"
Me._Label3_0.Text = "公司电话:"
Me._Label3_0.Size = New System.Drawing.Size(60, 12)
Me._Label3_0.Location = New System.Drawing.Point(12, 11)
Me._Label3_0.TabIndex = 15
Me._Label3_0.TextAlign = System.Drawing.ContentAlignment.TopLeft
Me._Label3_0.BackColor = System.Drawing.SystemColors.Control
Me._Label3_0.Enabled = True
Me._Label3_0.ForeColor = System.Drawing.SystemColors.ControlText
Me._Label3_0.Cursor = System.Windows.Forms.Cursors.Default
Me._Label3_0.RightToLeft = System.Windows.Forms.RightToLeft.No
Me._Label3_0.UseMnemonic = True
Me._Label3_0.Visible = True
Me._Label3_0.AutoSize = True
Me._Label3_0.BorderStyle = System.Windows.Forms.BorderStyle.None
Me._Label3_0.Name = "_Label3_0"
Me.CancelExit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
Me.CancelButton = Me.CancelExit
Me.CancelExit.Text = "取消(&C)"
Me.CancelExit.Size = New System.Drawing.Size(79, 25)
Me.CancelExit.Location = New System.Drawing.Point(324, 77)
Me.CancelExit.TabIndex = 8
Me.CancelExit.BackColor = System.Drawing.SystemColors.Control
Me.CancelExit.CausesValidation = True
Me.CancelExit.Enabled = True
Me.CancelExit.ForeColor = System.Drawing.SystemColors.ControlText
Me.CancelExit.Cursor = System.Windows.Forms.Cursors.Default
Me.CancelExit.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.CancelExit.TabStop = True
Me.CancelExit.Name = "CancelExit"
Me.OkSave.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
Me.OkSave.Text = "保存(&S)"
Me.OkSave.Size = New System.Drawing.Size(79, 25)
Me.OkSave.Location = New System.Drawing.Point(324, 50)
Me.OkSave.TabIndex = 7
Me.OkSave.BackColor = System.Drawing.SystemColors.Control
Me.OkSave.CausesValidation = True
Me.OkSave.Enabled = True
Me.OkSave.ForeColor = System.Drawing.SystemColors.ControlText
Me.OkSave.Cursor = System.Windows.Forms.Cursors.Default
Me.OkSave.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.OkSave.TabStop = True
Me.OkSave.Name = "OkSave"
Me.Frame3.Text = "系统桌面"
Me.Frame3.Size = New System.Drawing.Size(389, 80)
Me.Frame3.Location = New System.Drawing.Point(13, 206)
Me.Frame3.TabIndex = 12
Me.Frame3.BackColor = System.Drawing.SystemColors.Control
Me.Frame3.Enabled = True
Me.Frame3.ForeColor = System.Drawing.SystemColors.ControlText
Me.Frame3.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Frame3.Visible = True
Me.Frame3.Name = "Frame3"
Me.Command1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
Me.Command1.Text = "选择图片"
Me.Command1.Size = New System.Drawing.Size(72, 26)
Me.Command1.Location = New System.Drawing.Point(14, 48)
Me.Command1.TabIndex = 6
Me.Command1.BackColor = System.Drawing.SystemColors.Control
Me.Command1.CausesValidation = True
Me.Command1.Enabled = True
Me.Command1.ForeColor = System.Drawing.SystemColors.ControlText
Me.Command1.Cursor = System.Windows.Forms.Cursors.Default
Me.Command1.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Command1.TabStop = True
Me.Command1.Name = "Command1"
Me._CC_5.AutoSize = False
Me._CC_5.Size = New System.Drawing.Size(361, 20)
Me._CC_5.Location = New System.Drawing.Point(14, 23)
Me._CC_5.Maxlength = 100
Me._CC_5.TabIndex = 5
Me._CC_5.AcceptsReturn = True
Me._CC_5.TextAlign = System.Windows.Forms.HorizontalAlignment.Left
Me._CC_5.BackColor = System.Drawing.SystemColors.Window
Me._CC_5.CausesValidation = True
Me._CC_5.Enabled = True
Me._CC_5.ForeColor = System.Drawing.SystemColors.WindowText
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -