📄 frmsite.vb
字号:
Public Class frmSite
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 palSiteOpre As System.Windows.Forms.Panel
Friend WithEvents lvwSiteOpre As System.Windows.Forms.ListView
Friend WithEvents btnCancel As System.Windows.Forms.Button
Friend WithEvents btnOK As System.Windows.Forms.Button
Friend WithEvents txtID As System.Windows.Forms.TextBox
Friend WithEvents txtPer As System.Windows.Forms.TextBox
Friend WithEvents txtDish As System.Windows.Forms.TextBox
Friend WithEvents txtMoney As System.Windows.Forms.TextBox
Friend WithEvents txtDiscount As System.Windows.Forms.TextBox
Friend WithEvents cmbStatus As System.Windows.Forms.ComboBox
Friend WithEvents lvwGetDish As System.Windows.Forms.ListView
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents Label5 As System.Windows.Forms.Label
Friend WithEvents Label4 As System.Windows.Forms.Label
Friend WithEvents Label3 As System.Windows.Forms.Label
Friend WithEvents Label2 As System.Windows.Forms.Label
Friend WithEvents Label1 As System.Windows.Forms.Label
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(frmSite))
Me.palSiteOpre = New System.Windows.Forms.Panel
Me.lvwGetDish = New System.Windows.Forms.ListView
Me.cmbStatus = New System.Windows.Forms.ComboBox
Me.txtDiscount = New System.Windows.Forms.TextBox
Me.txtMoney = New System.Windows.Forms.TextBox
Me.txtDish = New System.Windows.Forms.TextBox
Me.txtPer = New System.Windows.Forms.TextBox
Me.txtID = New System.Windows.Forms.TextBox
Me.Label6 = New System.Windows.Forms.Label
Me.Label5 = New System.Windows.Forms.Label
Me.Label4 = New System.Windows.Forms.Label
Me.Label3 = New System.Windows.Forms.Label
Me.Label2 = New System.Windows.Forms.Label
Me.Label1 = New System.Windows.Forms.Label
Me.lvwSiteOpre = New System.Windows.Forms.ListView
Me.btnCancel = New System.Windows.Forms.Button
Me.btnOK = New System.Windows.Forms.Button
Me.palSiteOpre.SuspendLayout()
Me.SuspendLayout()
'
'palSiteOpre
'
Me.palSiteOpre.BackColor = System.Drawing.Color.LightBlue
Me.palSiteOpre.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.palSiteOpre.Controls.Add(Me.lvwGetDish)
Me.palSiteOpre.Controls.Add(Me.cmbStatus)
Me.palSiteOpre.Controls.Add(Me.txtDiscount)
Me.palSiteOpre.Controls.Add(Me.txtMoney)
Me.palSiteOpre.Controls.Add(Me.txtDish)
Me.palSiteOpre.Controls.Add(Me.txtPer)
Me.palSiteOpre.Controls.Add(Me.txtID)
Me.palSiteOpre.Controls.Add(Me.Label6)
Me.palSiteOpre.Controls.Add(Me.Label5)
Me.palSiteOpre.Controls.Add(Me.Label4)
Me.palSiteOpre.Controls.Add(Me.Label3)
Me.palSiteOpre.Controls.Add(Me.Label2)
Me.palSiteOpre.Controls.Add(Me.Label1)
Me.palSiteOpre.Controls.Add(Me.lvwSiteOpre)
Me.palSiteOpre.Controls.Add(Me.btnCancel)
Me.palSiteOpre.Controls.Add(Me.btnOK)
Me.palSiteOpre.ForeColor = System.Drawing.Color.Purple
Me.palSiteOpre.Location = New System.Drawing.Point(40, 8)
Me.palSiteOpre.Name = "palSiteOpre"
Me.palSiteOpre.Size = New System.Drawing.Size(600, 400)
Me.palSiteOpre.TabIndex = 3
Me.palSiteOpre.Visible = False
'
'lvwGetDish
'
Me.lvwGetDish.BackColor = System.Drawing.Color.White
Me.lvwGetDish.Font = New System.Drawing.Font("Verdana", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.lvwGetDish.ForeColor = System.Drawing.Color.Black
Me.lvwGetDish.FullRowSelect = True
Me.lvwGetDish.GridLines = True
Me.lvwGetDish.Location = New System.Drawing.Point(296, 56)
Me.lvwGetDish.Name = "lvwGetDish"
Me.lvwGetDish.Size = New System.Drawing.Size(280, 301)
Me.lvwGetDish.TabIndex = 19
Me.lvwGetDish.View = System.Windows.Forms.View.Details
Me.lvwGetDish.Visible = False
'
'cmbStatus
'
Me.cmbStatus.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(255, Byte), CType(128, Byte))
Me.cmbStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
Me.cmbStatus.Font = New System.Drawing.Font("新宋体", 14.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.cmbStatus.Items.AddRange(New Object() {"使用", "结帐", "空闲", "预订", "停用"})
Me.cmbStatus.Location = New System.Drawing.Point(116, 88)
Me.cmbStatus.Name = "cmbStatus"
Me.cmbStatus.Size = New System.Drawing.Size(128, 27)
Me.cmbStatus.TabIndex = 18
'
'txtDiscount
'
Me.txtDiscount.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(255, Byte), CType(128, Byte))
Me.txtDiscount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.txtDiscount.Font = New System.Drawing.Font("新宋体", 14.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.txtDiscount.ForeColor = System.Drawing.Color.Black
Me.txtDiscount.Location = New System.Drawing.Point(116, 287)
Me.txtDiscount.Name = "txtDiscount"
Me.txtDiscount.ReadOnly = True
Me.txtDiscount.Size = New System.Drawing.Size(128, 29)
Me.txtDiscount.TabIndex = 17
Me.txtDiscount.Text = ""
Me.txtDiscount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
'
'txtMoney
'
Me.txtMoney.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(255, Byte), CType(128, Byte))
Me.txtMoney.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.txtMoney.Font = New System.Drawing.Font("新宋体", 14.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.txtMoney.ForeColor = System.Drawing.Color.Black
Me.txtMoney.Location = New System.Drawing.Point(116, 237)
Me.txtMoney.Name = "txtMoney"
Me.txtMoney.ReadOnly = True
Me.txtMoney.Size = New System.Drawing.Size(128, 29)
Me.txtMoney.TabIndex = 16
Me.txtMoney.Text = ""
Me.txtMoney.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
'
'txtDish
'
Me.txtDish.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(255, Byte), CType(128, Byte))
Me.txtDish.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.txtDish.Font = New System.Drawing.Font("新宋体", 14.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.txtDish.ForeColor = System.Drawing.Color.Black
Me.txtDish.Location = New System.Drawing.Point(116, 184)
Me.txtDish.Name = "txtDish"
Me.txtDish.ReadOnly = True
Me.txtDish.Size = New System.Drawing.Size(128, 29)
Me.txtDish.TabIndex = 15
Me.txtDish.Text = ""
Me.txtDish.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
'
'txtPer
'
Me.txtPer.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(255, Byte), CType(128, Byte))
Me.txtPer.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.txtPer.Font = New System.Drawing.Font("新宋体", 14.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.txtPer.ForeColor = System.Drawing.Color.Black
Me.txtPer.Location = New System.Drawing.Point(116, 135)
Me.txtPer.Name = "txtPer"
Me.txtPer.ReadOnly = True
Me.txtPer.Size = New System.Drawing.Size(128, 29)
Me.txtPer.TabIndex = 14
Me.txtPer.Text = ""
Me.txtPer.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
'
'txtID
'
Me.txtID.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(255, Byte), CType(128, Byte))
Me.txtID.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
Me.txtID.Font = New System.Drawing.Font("新宋体", 20.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.txtID.ForeColor = System.Drawing.Color.Red
Me.txtID.Location = New System.Drawing.Point(116, 30)
Me.txtID.Name = "txtID"
Me.txtID.ReadOnly = True
Me.txtID.Size = New System.Drawing.Size(128, 38)
Me.txtID.TabIndex = 12
Me.txtID.Text = ""
Me.txtID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
'
'Label6
'
Me.Label6.Font = New System.Drawing.Font("宋体", 14.0!, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label6.Location = New System.Drawing.Point(20, 297)
Me.Label6.Name = "Label6"
Me.Label6.Size = New System.Drawing.Size(97, 24)
Me.Label6.TabIndex = 11
Me.Label6.Text = "优惠金额:"
'
'Label5
'
Me.Label5.Font = New System.Drawing.Font("宋体", 14.0!, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label5.Location = New System.Drawing.Point(19, 247)
Me.Label5.Name = "Label5"
Me.Label5.Size = New System.Drawing.Size(97, 24)
Me.Label5.TabIndex = 10
Me.Label5.Text = "消费金额:"
'
'Label4
'
Me.Label4.Font = New System.Drawing.Font("宋体", 14.0!, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label4.Location = New System.Drawing.Point(19, 194)
Me.Label4.Name = "Label4"
Me.Label4.Size = New System.Drawing.Size(97, 24)
Me.Label4.TabIndex = 9
Me.Label4.Text = "菜 数:"
'
'Label3
'
Me.Label3.Font = New System.Drawing.Font("宋体", 14.0!, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label3.Location = New System.Drawing.Point(19, 145)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(97, 24)
Me.Label3.TabIndex = 8
Me.Label3.Text = "人 数:"
'
'Label2
'
Me.Label2.Font = New System.Drawing.Font("宋体", 14.0!, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label2.Location = New System.Drawing.Point(19, 97)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(97, 24)
Me.Label2.TabIndex = 7
Me.Label2.Text = "状 态:"
'
'Label1
'
Me.Label1.Font = New System.Drawing.Font("宋体", 14.0!, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.Label1.Location = New System.Drawing.Point(19, 49)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(97, 24)
Me.Label1.TabIndex = 6
Me.Label1.Text = "桌 号:"
'
'lvwSiteOpre
'
Me.lvwSiteOpre.BackColor = System.Drawing.Color.White
Me.lvwSiteOpre.Font = New System.Drawing.Font("Verdana", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.lvwSiteOpre.ForeColor = System.Drawing.Color.Black
Me.lvwSiteOpre.FullRowSelect = True
Me.lvwSiteOpre.GridLines = True
Me.lvwSiteOpre.Location = New System.Drawing.Point(280, 16)
Me.lvwSiteOpre.Name = "lvwSiteOpre"
Me.lvwSiteOpre.Size = New System.Drawing.Size(280, 301)
Me.lvwSiteOpre.TabIndex = 5
Me.lvwSiteOpre.View = System.Windows.Forms.View.Details
'
'btnCancel
'
Me.btnCancel.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
Me.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel
Me.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Popup
Me.btnCancel.Font = New System.Drawing.Font("新宋体", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(134, Byte))
Me.btnCancel.ForeColor = System.Drawing.Color.Blue
Me.btnCancel.Location = New System.Drawing.Point(154, 352)
Me.btnCancel.Name = "btnCancel"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -