📄 main.vb
字号:
Public Class main
Inherits System.Windows.Forms.Form
#Region " Windows 窗体设计器生成的代码 "
Public Sub New()
MyBase.New()
'该调用是 Windows 窗体设计器所必需的。
InitializeComponent()
'在 InitializeComponent() 调用之后添加任何初始化
End Sub
'窗体重写 dispose 以清理组件列表。
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
'注意: 以下过程是 Windows 窗体设计器所必需的
'可以使用 Windows 窗体设计器修改此过程。
'不要使用代码编辑器修改它。
Friend WithEvents Button2 As System.Windows.Forms.Button
Friend WithEvents Button3 As System.Windows.Forms.Button
Friend WithEvents Button4 As System.Windows.Forms.Button
Friend WithEvents Button1 As System.Windows.Forms.Button
Friend WithEvents Button13 As System.Windows.Forms.Button
Friend WithEvents Button14 As System.Windows.Forms.Button
Friend WithEvents Button15 As System.Windows.Forms.Button
Friend WithEvents Button16 As System.Windows.Forms.Button
Friend WithEvents Button12 As System.Windows.Forms.Button
Friend WithEvents Button11 As System.Windows.Forms.Button
Friend WithEvents Button10 As System.Windows.Forms.Button
Friend WithEvents Button9 As System.Windows.Forms.Button
Friend WithEvents Button5 As System.Windows.Forms.Button
Friend WithEvents Button6 As System.Windows.Forms.Button
Friend WithEvents Button7 As System.Windows.Forms.Button
Friend WithEvents Button8 As System.Windows.Forms.Button
Friend WithEvents Button17 As System.Windows.Forms.Button
Friend WithEvents Button18 As System.Windows.Forms.Button
Friend WithEvents Button19 As System.Windows.Forms.Button
Friend WithEvents Button20 As System.Windows.Forms.Button
Friend WithEvents MenuItem1 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem2 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem3 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem4 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem5 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem6 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem7 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem8 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem9 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem10 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem11 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem12 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem13 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem14 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem15 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem16 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem17 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem18 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem19 As System.Windows.Forms.MenuItem
Friend WithEvents MenuItem20 As System.Windows.Forms.MenuItem
Friend WithEvents MainMenu1 As System.Windows.Forms.MainMenu
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(main))
Me.Button2 = New System.Windows.Forms.Button
Me.Button3 = New System.Windows.Forms.Button
Me.Button4 = New System.Windows.Forms.Button
Me.Button1 = New System.Windows.Forms.Button
Me.Button13 = New System.Windows.Forms.Button
Me.Button14 = New System.Windows.Forms.Button
Me.Button15 = New System.Windows.Forms.Button
Me.Button16 = New System.Windows.Forms.Button
Me.Button12 = New System.Windows.Forms.Button
Me.Button11 = New System.Windows.Forms.Button
Me.Button10 = New System.Windows.Forms.Button
Me.Button9 = New System.Windows.Forms.Button
Me.Button5 = New System.Windows.Forms.Button
Me.Button6 = New System.Windows.Forms.Button
Me.Button7 = New System.Windows.Forms.Button
Me.Button8 = New System.Windows.Forms.Button
Me.Button17 = New System.Windows.Forms.Button
Me.Button18 = New System.Windows.Forms.Button
Me.Button19 = New System.Windows.Forms.Button
Me.Button20 = New System.Windows.Forms.Button
Me.MenuItem1 = New System.Windows.Forms.MenuItem
Me.MenuItem2 = New System.Windows.Forms.MenuItem
Me.MenuItem3 = New System.Windows.Forms.MenuItem
Me.MenuItem4 = New System.Windows.Forms.MenuItem
Me.MenuItem5 = New System.Windows.Forms.MenuItem
Me.MenuItem6 = New System.Windows.Forms.MenuItem
Me.MenuItem7 = New System.Windows.Forms.MenuItem
Me.MenuItem8 = New System.Windows.Forms.MenuItem
Me.MenuItem9 = New System.Windows.Forms.MenuItem
Me.MenuItem10 = New System.Windows.Forms.MenuItem
Me.MenuItem11 = New System.Windows.Forms.MenuItem
Me.MenuItem12 = New System.Windows.Forms.MenuItem
Me.MenuItem13 = New System.Windows.Forms.MenuItem
Me.MenuItem14 = New System.Windows.Forms.MenuItem
Me.MenuItem15 = New System.Windows.Forms.MenuItem
Me.MenuItem16 = New System.Windows.Forms.MenuItem
Me.MenuItem17 = New System.Windows.Forms.MenuItem
Me.MenuItem18 = New System.Windows.Forms.MenuItem
Me.MenuItem19 = New System.Windows.Forms.MenuItem
Me.MenuItem20 = New System.Windows.Forms.MenuItem
Me.MainMenu1 = New System.Windows.Forms.MainMenu
Me.SuspendLayout()
'
'Button2
'
Me.Button2.BackColor = System.Drawing.SystemColors.Control
Me.Button2.FlatStyle = System.Windows.Forms.FlatStyle.Popup
Me.Button2.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Button2.ForeColor = System.Drawing.Color.Blue
Me.Button2.Image = CType(resources.GetObject("Button2.Image"), System.Drawing.Image)
Me.Button2.Location = New System.Drawing.Point(168, 32)
Me.Button2.Name = "Button2"
Me.Button2.Size = New System.Drawing.Size(104, 96)
Me.Button2.TabIndex = 2
Me.Button2.Text = "客户管理"
Me.Button2.TextAlign = System.Drawing.ContentAlignment.TopLeft
'
'Button3
'
Me.Button3.BackColor = System.Drawing.SystemColors.Control
Me.Button3.FlatStyle = System.Windows.Forms.FlatStyle.Popup
Me.Button3.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Button3.ForeColor = System.Drawing.Color.OrangeRed
Me.Button3.Image = CType(resources.GetObject("Button3.Image"), System.Drawing.Image)
Me.Button3.Location = New System.Drawing.Point(312, 32)
Me.Button3.Name = "Button3"
Me.Button3.Size = New System.Drawing.Size(104, 96)
Me.Button3.TabIndex = 3
Me.Button3.Text = "基础信息维护"
Me.Button3.TextAlign = System.Drawing.ContentAlignment.TopLeft
'
'Button4
'
Me.Button4.BackColor = System.Drawing.SystemColors.Control
Me.Button4.FlatStyle = System.Windows.Forms.FlatStyle.Popup
Me.Button4.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Button4.ForeColor = System.Drawing.Color.Crimson
Me.Button4.Image = CType(resources.GetObject("Button4.Image"), System.Drawing.Image)
Me.Button4.Location = New System.Drawing.Point(456, 32)
Me.Button4.Name = "Button4"
Me.Button4.Size = New System.Drawing.Size(104, 96)
Me.Button4.TabIndex = 4
Me.Button4.Text = "系统维护"
Me.Button4.TextAlign = System.Drawing.ContentAlignment.TopLeft
'
'Button1
'
Me.Button1.BackColor = System.Drawing.SystemColors.Control
Me.Button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup
Me.Button1.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Button1.ForeColor = System.Drawing.SystemColors.WindowText
Me.Button1.Image = CType(resources.GetObject("Button1.Image"), System.Drawing.Image)
Me.Button1.Location = New System.Drawing.Point(24, 32)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(104, 96)
Me.Button1.TabIndex = 7
Me.Button1.Text = "前台管理"
Me.Button1.TextAlign = System.Drawing.ContentAlignment.TopLeft
'
'Button13
'
Me.Button13.BackColor = System.Drawing.Color.SteelBlue
Me.Button13.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Button13.ForeColor = System.Drawing.SystemColors.WindowText
Me.Button13.Image = CType(resources.GetObject("Button13.Image"), System.Drawing.Image)
Me.Button13.Location = New System.Drawing.Point(384, 184)
Me.Button13.Name = "Button13"
Me.Button13.Size = New System.Drawing.Size(80, 72)
Me.Button13.TabIndex = 17
Me.Button13.Text = "退宿结账"
Me.Button13.TextAlign = System.Drawing.ContentAlignment.TopLeft
'
'Button14
'
Me.Button14.BackColor = System.Drawing.Color.SteelBlue
Me.Button14.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Button14.ForeColor = System.Drawing.SystemColors.WindowText
Me.Button14.Image = CType(resources.GetObject("Button14.Image"), System.Drawing.Image)
Me.Button14.Location = New System.Drawing.Point(272, 184)
Me.Button14.Name = "Button14"
Me.Button14.Size = New System.Drawing.Size(80, 72)
Me.Button14.TabIndex = 16
Me.Button14.Text = "押金追加"
Me.Button14.TextAlign = System.Drawing.ContentAlignment.TopLeft
'
'Button15
'
Me.Button15.BackColor = System.Drawing.Color.SteelBlue
Me.Button15.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Button15.ForeColor = System.Drawing.SystemColors.WindowText
Me.Button15.Image = CType(resources.GetObject("Button15.Image"), System.Drawing.Image)
Me.Button15.Location = New System.Drawing.Point(160, 184)
Me.Button15.Name = "Button15"
Me.Button15.Size = New System.Drawing.Size(80, 72)
Me.Button15.TabIndex = 15
Me.Button15.Text = "住宿登记"
Me.Button15.TextAlign = System.Drawing.ContentAlignment.TopLeft
'
'Button16
'
Me.Button16.BackColor = System.Drawing.Color.SteelBlue
Me.Button16.Font = New System.Drawing.Font("宋体", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Button16.ForeColor = System.Drawing.SystemColors.WindowText
Me.Button16.Image = CType(resources.GetObject("Button16.Image"), System.Drawing.Image)
Me.Button16.Location = New System.Drawing.Point(48, 184)
Me.Button16.Name = "Button16"
Me.Button16.Size = New System.Drawing.Size(80, 72)
Me.Button16.TabIndex = 14
Me.Button16.Text = "客房预定"
Me.Button16.TextAlign = System.Drawing.ContentAlignment.TopLeft
'
'Button12
'
Me.Button12.BackColor = System.Drawing.SystemColors.Info
Me.Button12.ForeColor = System.Drawing.Color.Blue
Me.Button12.Image = CType(resources.GetObject("Button12.Image"), System.Drawing.Image)
Me.Button12.Location = New System.Drawing.Point(384, 184)
Me.Button12.Name = "Button12"
Me.Button12.Size = New System.Drawing.Size(80, 72)
Me.Button12.TabIndex = 21
Me.Button12.Text = "宿费提醒"
Me.Button12.TextAlign = System.Drawing.ContentAlignment.TopLeft
'
'Button11
'
Me.Button11.BackColor = System.Drawing.SystemColors.Info
Me.Button11.ForeColor = System.Drawing.Color.Blue
Me.Button11.Image = CType(resources.GetObject("Button11.Image"), System.Drawing.Image)
Me.Button11.Location = New System.Drawing.Point(272, 184)
Me.Button11.Name = "Button11"
Me.Button11.Size = New System.Drawing.Size(80, 72)
Me.Button11.TabIndex = 20
Me.Button11.Text = "客房查询"
Me.Button11.TextAlign = System.Drawing.ContentAlignment.TopLeft
'
'Button10
'
Me.Button10.BackColor = System.Drawing.SystemColors.Info
Me.Button10.ForeColor = System.Drawing.Color.Blue
Me.Button10.Image = CType(resources.GetObject("Button10.Image"), System.Drawing.Image)
Me.Button10.Location = New System.Drawing.Point(160, 184)
Me.Button10.Name = "Button10"
Me.Button10.Size = New System.Drawing.Size(80, 72)
Me.Button10.TabIndex = 19
Me.Button10.Text = "退宿查询"
Me.Button10.TextAlign = System.Drawing.ContentAlignment.TopLeft
'
'Button9
'
Me.Button9.BackColor = System.Drawing.SystemColors.Info
Me.Button9.ForeColor = System.Drawing.Color.Blue
Me.Button9.Image = CType(resources.GetObject("Button9.Image"), System.Drawing.Image)
Me.Button9.Location = New System.Drawing.Point(48, 184)
Me.Button9.Name = "Button9"
Me.Button9.Size = New System.Drawing.Size(80, 72)
Me.Button9.TabIndex = 18
Me.Button9.Text = "住宿查询"
Me.Button9.TextAlign = System.Drawing.ContentAlignment.TopLeft
'
'Button5
'
Me.Button5.ForeColor = System.Drawing.Color.OrangeRed
Me.Button5.Image = CType(resources.GetObject("Button5.Image"), System.Drawing.Image)
Me.Button5.Location = New System.Drawing.Point(48, 184)
Me.Button5.Name = "Button5"
Me.Button5.Size = New System.Drawing.Size(80, 72)
Me.Button5.TabIndex = 23
Me.Button5.Text = "客房信息"
Me.Button5.TextAlign = System.Drawing.ContentAlignment.TopLeft
'
'Button6
'
Me.Button6.ForeColor = System.Drawing.Color.OrangeRed
Me.Button6.Image = CType(resources.GetObject("Button6.Image"), System.Drawing.Image)
Me.Button6.Location = New System.Drawing.Point(160, 184)
Me.Button6.Name = "Button6"
Me.Button6.Size = New System.Drawing.Size(80, 72)
Me.Button6.TabIndex = 24
Me.Button6.Text = "员工信息"
Me.Button6.TextAlign = System.Drawing.ContentAlignment.TopLeft
'
'Button7
'
Me.Button7.ForeColor = System.Drawing.Color.OrangeRed
Me.Button7.Image = CType(resources.GetObject("Button7.Image"), System.Drawing.Image)
Me.Button7.Location = New System.Drawing.Point(272, 184)
Me.Button7.Name = "Button7"
Me.Button7.Size = New System.Drawing.Size(80, 72)
Me.Button7.TabIndex = 25
Me.Button7.Text = "部门信息"
Me.Button7.TextAlign = System.Drawing.ContentAlignment.TopLeft
'
'Button8
'
Me.Button8.ForeColor = System.Drawing.Color.OrangeRed
Me.Button8.Image = CType(resources.GetObject("Button8.Image"), System.Drawing.Image)
Me.Button8.Location = New System.Drawing.Point(384, 184)
Me.Button8.Name = "Button8"
Me.Button8.Size = New System.Drawing.Size(80, 72)
Me.Button8.TabIndex = 26
Me.Button8.Text = "单位信息"
Me.Button8.TextAlign = System.Drawing.ContentAlignment.TopLeft
'
'Button17
'
Me.Button17.ForeColor = System.Drawing.Color.Crimson
Me.Button17.Image = CType(resources.GetObject("Button17.Image"), System.Drawing.Image)
Me.Button17.Location = New System.Drawing.Point(48, 184)
Me.Button17.Name = "Button17"
Me.Button17.Size = New System.Drawing.Size(80, 72)
Me.Button17.TabIndex = 27
Me.Button17.Text = "系统初始化"
Me.Button17.TextAlign = System.Drawing.ContentAlignment.TopLeft
'
'Button18
'
Me.Button18.ForeColor = System.Drawing.Color.Crimson
Me.Button18.Image = CType(resources.GetObject("Button18.Image"), System.Drawing.Image)
Me.Button18.Location = New System.Drawing.Point(160, 184)
Me.Button18.Name = "Button18"
Me.Button18.Size = New System.Drawing.Size(80, 72)
Me.Button18.TabIndex = 28
Me.Button18.Text = "操作员管理"
Me.Button18.TextAlign = System.Drawing.ContentAlignment.TopLeft
'
'Button19
'
Me.Button19.ForeColor = System.Drawing.Color.Crimson
Me.Button19.Image = CType(resources.GetObject("Button19.Image"), System.Drawing.Image)
Me.Button19.Location = New System.Drawing.Point(272, 184)
Me.Button19.Name = "Button19"
Me.Button19.Size = New System.Drawing.Size(80, 72)
Me.Button19.TabIndex = 29
Me.Button19.Text = "数据备份"
Me.Button19.TextAlign = System.Drawing.ContentAlignment.TopLeft
'
'Button20
'
Me.Button20.Font = New System.Drawing.Font("宋体", 9.0!, CType((System.Drawing.FontStyle.Underline Or System.Drawing.FontStyle.Strikeout), System.Drawing.FontStyle), System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Button20.ForeColor = System.Drawing.Color.Red
Me.Button20.Image = CType(resources.GetObject("Button20.Image"), System.Drawing.Image)
Me.Button20.Location = New System.Drawing.Point(496, 184)
Me.Button20.Name = "Button20"
Me.Button20.Size = New System.Drawing.Size(64, 56)
Me.Button20.TabIndex = 31
Me.Button20.Text = "关闭系统"
Me.Button20.TextAlign = System.Drawing.ContentAlignment.TopLeft
'
'MenuItem1
'
Me.MenuItem1.Index = 0
Me.MenuItem1.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem2, Me.MenuItem3, Me.MenuItem4, Me.MenuItem5})
Me.MenuItem1.Text = "前台管理"
'
'MenuItem2
'
Me.MenuItem2.Index = 0
Me.MenuItem2.Text = "客房预定"
'
'MenuItem3
'
Me.MenuItem3.Index = 1
Me.MenuItem3.Text = "住宿登记"
'
'MenuItem4
'
Me.MenuItem4.Index = 2
Me.MenuItem4.Text = "押金追加"
'
'MenuItem5
'
Me.MenuItem5.Index = 3
Me.MenuItem5.Text = "退宿结账"
'
'MenuItem6
'
Me.MenuItem6.Index = 1
Me.MenuItem6.MenuItems.AddRange(New System.Windows.Forms.MenuItem() {Me.MenuItem7, Me.MenuItem8, Me.MenuItem9, Me.MenuItem10})
Me.MenuItem6.Text = "客户管理"
'
'MenuItem7
'
Me.MenuItem7.Index = 0
Me.MenuItem7.Text = "住宿查询"
'
'MenuItem8
'
Me.MenuItem8.Index = 1
Me.MenuItem8.Text = "退宿查询"
'
'MenuItem9
'
Me.MenuItem9.Index = 2
Me.MenuItem9.Text = "客房查询"
'
'MenuItem10
'
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -