📄 addguesttype.vb
字号:
Option Strict Off
Option Explicit On
Friend Class frmCatalog
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 ExitB As System.Windows.Forms.Button
Public WithEvents DeleteB As System.Windows.Forms.Button
Public WithEvents cmdModify As System.Windows.Forms.Button
Public WithEvents ListView1 As AxComctlLib.AxListView
Public WithEvents picDraw As System.Windows.Forms.PictureBox
Public WithEvents Picture1 As System.Windows.Forms.PictureBox
Public WithEvents CancelRecord As System.Windows.Forms.Button
Public WithEvents SaveRecord As System.Windows.Forms.Button
Public WithEvents NewTypeName As System.Windows.Forms.TextBox
Public WithEvents Label1 As System.Windows.Forms.Label
Public WithEvents AddPicture As System.Windows.Forms.Panel
Public WithEvents AddB As System.Windows.Forms.Button
Public WithEvents _Line3_1 As System.Windows.Forms.Label
Public WithEvents _Line2_1 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 ImageList1 As AxComctlLib.AxImageList
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 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(frmCatalog))
Me.components = New System.ComponentModel.Container()
Me.ToolTip1 = New System.Windows.Forms.ToolTip(components)
Me.ToolTip1.Active = True
Me.ExitB = New System.Windows.Forms.Button
Me.DeleteB = New System.Windows.Forms.Button
Me.cmdModify = New System.Windows.Forms.Button
Me.ListView1 = New AxComctlLib.AxListView
Me.picDraw = New System.Windows.Forms.PictureBox
Me.Picture1 = New System.Windows.Forms.PictureBox
Me.AddPicture = New System.Windows.Forms.Panel
Me.CancelRecord = New System.Windows.Forms.Button
Me.SaveRecord = New System.Windows.Forms.Button
Me.NewTypeName = New System.Windows.Forms.TextBox
Me.Label1 = New System.Windows.Forms.Label
Me.AddB = New System.Windows.Forms.Button
Me._Line3_1 = New System.Windows.Forms.Label
Me._Line2_1 = New System.Windows.Forms.Label
Me._Line3_0 = New System.Windows.Forms.Label
Me._Line2_0 = New System.Windows.Forms.Label
Me.ImageList1 = New AxComctlLib.AxImageList
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.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.ListView1, System.ComponentModel.ISupportInitialize).BeginInit()
CType(Me.ImageList1, 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()
Me.StartPosition = System.Windows.Forms.FormStartPosition.Manual
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
Me.Text = "档案类型管理[添加、删除]"
Me.ClientSize = New System.Drawing.Size(364, 219)
Me.Location = New System.Drawing.Point(3, 22)
Me.Icon = CType(resources.GetObject("frmCatalog.Icon"), System.Drawing.Icon)
Me.KeyPreview = True
Me.MaximizeBox = False
Me.MinimizeBox = False
Me.ShowInTaskbar = False
Me.AutoScaleBaseSize = New System.Drawing.Size(6, 14)
Me.BackColor = System.Drawing.SystemColors.Control
Me.ControlBox = True
Me.Enabled = True
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 = "frmCatalog"
Me.ExitB.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
Me.CancelButton = Me.ExitB
Me.ExitB.Text = "关 闭(&C)"
Me.ExitB.Size = New System.Drawing.Size(105, 22)
Me.ExitB.Location = New System.Drawing.Point(241, 82)
Me.ExitB.TabIndex = 6
Me.ExitB.BackColor = System.Drawing.SystemColors.Control
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.DeleteB.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
Me.DeleteB.Text = "删 除(&D)"
Me.DeleteB.Size = New System.Drawing.Size(105, 22)
Me.DeleteB.Location = New System.Drawing.Point(241, 60)
Me.DeleteB.TabIndex = 5
Me.DeleteB.BackColor = System.Drawing.SystemColors.Control
Me.DeleteB.CausesValidation = True
Me.DeleteB.Enabled = True
Me.DeleteB.ForeColor = System.Drawing.SystemColors.ControlText
Me.DeleteB.Cursor = System.Windows.Forms.Cursors.Default
Me.DeleteB.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.DeleteB.TabStop = True
Me.DeleteB.Name = "DeleteB"
Me.cmdModify.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
Me.cmdModify.Text = "修 改(&M)"
Me.cmdModify.Size = New System.Drawing.Size(105, 22)
Me.cmdModify.Location = New System.Drawing.Point(241, 38)
Me.cmdModify.TabIndex = 4
Me.cmdModify.BackColor = System.Drawing.SystemColors.Control
Me.cmdModify.CausesValidation = True
Me.cmdModify.Enabled = True
Me.cmdModify.ForeColor = System.Drawing.SystemColors.ControlText
Me.cmdModify.Cursor = System.Windows.Forms.Cursors.Default
Me.cmdModify.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.cmdModify.TabStop = True
Me.cmdModify.Name = "cmdModify"
ListView1.OcxState = CType(resources.GetObject("ListView1.OcxState"), System.Windows.Forms.AxHost.State)
Me.ListView1.Size = New System.Drawing.Size(215, 193)
Me.ListView1.Location = New System.Drawing.Point(11, 12)
Me.ListView1.TabIndex = 7
Me.ListView1.Name = "ListView1"
Me.picDraw.Size = New System.Drawing.Size(84, 75)
Me.picDraw.Location = New System.Drawing.Point(250, 119)
Me.picDraw.Image = CType(resources.GetObject("picDraw.Image"), System.Drawing.Image)
Me.picDraw.TabIndex = 11
Me.picDraw.Dock = System.Windows.Forms.DockStyle.None
Me.picDraw.BackColor = System.Drawing.SystemColors.Control
Me.picDraw.CausesValidation = True
Me.picDraw.Enabled = True
Me.picDraw.ForeColor = System.Drawing.SystemColors.ControlText
Me.picDraw.Cursor = System.Windows.Forms.Cursors.Default
Me.picDraw.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.picDraw.TabStop = True
Me.picDraw.Visible = True
Me.picDraw.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize
Me.picDraw.BorderStyle = System.Windows.Forms.BorderStyle.None
Me.picDraw.Name = "picDraw"
Me.Picture1.Size = New System.Drawing.Size(36, 36)
Me.Picture1.Location = New System.Drawing.Point(214, 8)
Me.Picture1.Image = CType(resources.GetObject("Picture1.Image"), System.Drawing.Image)
Me.Picture1.TabIndex = 10
Me.Picture1.Visible = False
Me.Picture1.Dock = System.Windows.Forms.DockStyle.None
Me.Picture1.BackColor = System.Drawing.SystemColors.Control
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.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize
Me.Picture1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me.Picture1.Name = "Picture1"
Me.AddPicture.Size = New System.Drawing.Size(124, 96)
Me.AddPicture.Location = New System.Drawing.Point(227, 109)
Me.AddPicture.TabIndex = 8
Me.AddPicture.Visible = False
Me.AddPicture.Dock = System.Windows.Forms.DockStyle.None
Me.AddPicture.BackColor = System.Drawing.SystemColors.Control
Me.AddPicture.CausesValidation = True
Me.AddPicture.Enabled = True
Me.AddPicture.ForeColor = System.Drawing.SystemColors.ControlText
Me.AddPicture.Cursor = System.Windows.Forms.Cursors.Default
Me.AddPicture.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.AddPicture.TabStop = True
Me.AddPicture.BorderStyle = System.Windows.Forms.BorderStyle.None
Me.AddPicture.Name = "AddPicture"
Me.CancelRecord.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
Me.CancelRecord.Text = "取消"
Me.CancelRecord.Size = New System.Drawing.Size(53, 26)
Me.CancelRecord.Location = New System.Drawing.Point(68, 55)
Me.CancelRecord.TabIndex = 2
Me.CancelRecord.BackColor = System.Drawing.SystemColors.Control
Me.CancelRecord.CausesValidation = True
Me.CancelRecord.Enabled = True
Me.CancelRecord.ForeColor = System.Drawing.SystemColors.ControlText
Me.CancelRecord.Cursor = System.Windows.Forms.Cursors.Default
Me.CancelRecord.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.CancelRecord.TabStop = True
Me.CancelRecord.Name = "CancelRecord"
Me.SaveRecord.TextAlign = System.Drawing.ContentAlignment.MiddleCenter
Me.SaveRecord.Text = "保存"
Me.AcceptButton = Me.SaveRecord
Me.SaveRecord.Enabled = False
Me.SaveRecord.Size = New System.Drawing.Size(53, 26)
Me.SaveRecord.Location = New System.Drawing.Point(14, 55)
Me.SaveRecord.TabIndex = 1
Me.SaveRecord.BackColor = System.Drawing.SystemColors.Control
Me.SaveRecord.CausesValidation = True
Me.SaveRecord.ForeColor = System.Drawing.SystemColors.ControlText
Me.SaveRecord.Cursor = System.Windows.Forms.Cursors.Default
Me.SaveRecord.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.SaveRecord.TabStop = True
Me.SaveRecord.Name = "SaveRecord"
Me.NewTypeName.AutoSize = False
Me.NewTypeName.Size = New System.Drawing.Size(106, 20)
Me.NewTypeName.Location = New System.Drawing.Point(13, 32)
Me.NewTypeName.TabIndex = 0
Me.NewTypeName.AcceptsReturn = True
Me.NewTypeName.TextAlign = System.Windows.Forms.HorizontalAlignment.Left
Me.NewTypeName.BackColor = System.Drawing.SystemColors.Window
Me.NewTypeName.CausesValidation = True
Me.NewTypeName.Enabled = True
Me.NewTypeName.ForeColor = System.Drawing.SystemColors.WindowText
Me.NewTypeName.HideSelection = True
Me.NewTypeName.ReadOnly = False
Me.NewTypeName.Maxlength = 0
Me.NewTypeName.Cursor = System.Windows.Forms.Cursors.IBeam
Me.NewTypeName.MultiLine = False
Me.NewTypeName.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.NewTypeName.ScrollBars = System.Windows.Forms.ScrollBars.None
Me.NewTypeName.TabStop = True
Me.NewTypeName.Visible = True
Me.NewTypeName.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me.NewTypeName.Name = "NewTypeName"
Me.Label1.Text = "请输入新的档案类型"
Me.Label1.ForeColor = System.Drawing.Color.FromARGB(192, 64, 0)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -