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

📄 frmcustomermanager.vb

📁 单机版餐饮服务系统,结合了SqlServer数据库
💻 VB
📖 第 1 页 / 共 2 页
字号:
Imports System
Imports System.Data
Imports System.Data.SqlClient

Namespace HZC.DinningService

    Public Class frmCustomerManager
        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 gpCustomers As System.Windows.Forms.GroupBox
        Friend WithEvents gpSeparator As System.Windows.Forms.GroupBox
        Friend WithEvents gpControlPanel As System.Windows.Forms.GroupBox
        Friend WithEvents txtAccount As System.Windows.Forms.TextBox
        Friend WithEvents txtIdenty As System.Windows.Forms.TextBox
        Friend WithEvents txtMoney As System.Windows.Forms.TextBox
        Friend WithEvents txtCount As System.Windows.Forms.TextBox
        Friend WithEvents txtOffRatio As System.Windows.Forms.TextBox
        Friend WithEvents txtBuildDate As System.Windows.Forms.TextBox
        Friend WithEvents btnLogin As System.Windows.Forms.Button
        Friend WithEvents btnLogout As System.Windows.Forms.Button
        Friend WithEvents btnQuery As System.Windows.Forms.Button
        Friend WithEvents btnOK As System.Windows.Forms.Button
        Friend WithEvents lbAccount As System.Windows.Forms.Label
        Friend WithEvents lbIdenty As System.Windows.Forms.Label
        Friend WithEvents lbMoney As System.Windows.Forms.Label
        Friend WithEvents lbCount As System.Windows.Forms.Label
        Friend WithEvents lbOffRatio As System.Windows.Forms.Label
        Friend WithEvents lbBuildDate As System.Windows.Forms.Label
        <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
            Me.gpCustomers = New System.Windows.Forms.GroupBox
            Me.gpControlPanel = New System.Windows.Forms.GroupBox
            Me.btnOK = New System.Windows.Forms.Button
            Me.btnQuery = New System.Windows.Forms.Button
            Me.btnLogout = New System.Windows.Forms.Button
            Me.btnLogin = New System.Windows.Forms.Button
            Me.gpSeparator = New System.Windows.Forms.GroupBox
            Me.txtBuildDate = New System.Windows.Forms.TextBox
            Me.txtOffRatio = New System.Windows.Forms.TextBox
            Me.txtCount = New System.Windows.Forms.TextBox
            Me.txtMoney = New System.Windows.Forms.TextBox
            Me.txtIdenty = New System.Windows.Forms.TextBox
            Me.txtAccount = New System.Windows.Forms.TextBox
            Me.lbBuildDate = New System.Windows.Forms.Label
            Me.lbOffRatio = New System.Windows.Forms.Label
            Me.lbCount = New System.Windows.Forms.Label
            Me.lbMoney = New System.Windows.Forms.Label
            Me.lbIdenty = New System.Windows.Forms.Label
            Me.lbAccount = New System.Windows.Forms.Label
            Me.gpCustomers.SuspendLayout()
            Me.gpControlPanel.SuspendLayout()
            Me.SuspendLayout()
            '
            'gpCustomers
            '
            Me.gpCustomers.Controls.Add(Me.gpControlPanel)
            Me.gpCustomers.Controls.Add(Me.gpSeparator)
            Me.gpCustomers.Controls.Add(Me.txtBuildDate)
            Me.gpCustomers.Controls.Add(Me.txtOffRatio)
            Me.gpCustomers.Controls.Add(Me.txtCount)
            Me.gpCustomers.Controls.Add(Me.txtMoney)
            Me.gpCustomers.Controls.Add(Me.txtIdenty)
            Me.gpCustomers.Controls.Add(Me.txtAccount)
            Me.gpCustomers.Controls.Add(Me.lbBuildDate)
            Me.gpCustomers.Controls.Add(Me.lbOffRatio)
            Me.gpCustomers.Controls.Add(Me.lbCount)
            Me.gpCustomers.Controls.Add(Me.lbMoney)
            Me.gpCustomers.Controls.Add(Me.lbIdenty)
            Me.gpCustomers.Controls.Add(Me.lbAccount)
            Me.gpCustomers.ForeColor = System.Drawing.Color.Navy
            Me.gpCustomers.Location = New System.Drawing.Point(8, 8)
            Me.gpCustomers.Name = "gpCustomers"
            Me.gpCustomers.Size = New System.Drawing.Size(392, 312)
            Me.gpCustomers.TabIndex = 0
            Me.gpCustomers.TabStop = False
            Me.gpCustomers.Text = "会员信息"
            '
            'gpControlPanel
            '
            Me.gpControlPanel.Controls.Add(Me.btnOK)
            Me.gpControlPanel.Controls.Add(Me.btnQuery)
            Me.gpControlPanel.Controls.Add(Me.btnLogout)
            Me.gpControlPanel.Controls.Add(Me.btnLogin)
            Me.gpControlPanel.Location = New System.Drawing.Point(8, 216)
            Me.gpControlPanel.Name = "gpControlPanel"
            Me.gpControlPanel.Size = New System.Drawing.Size(376, 88)
            Me.gpControlPanel.TabIndex = 13
            Me.gpControlPanel.TabStop = False
            '
            'btnOK
            '
            Me.btnOK.FlatStyle = System.Windows.Forms.FlatStyle.Flat
            Me.btnOK.Location = New System.Drawing.Point(272, 40)
            Me.btnOK.Name = "btnOK"
            Me.btnOK.Size = New System.Drawing.Size(96, 24)
            Me.btnOK.TabIndex = 3
            Me.btnOK.Text = "确  定"
            '
            'btnQuery
            '
            Me.btnQuery.FlatStyle = System.Windows.Forms.FlatStyle.Flat
            Me.btnQuery.Location = New System.Drawing.Point(184, 40)
            Me.btnQuery.Name = "btnQuery"
            Me.btnQuery.Size = New System.Drawing.Size(80, 24)
            Me.btnQuery.TabIndex = 2
            Me.btnQuery.Text = "老会员查询"
            '
            'btnLogout
            '
            Me.btnLogout.FlatStyle = System.Windows.Forms.FlatStyle.Flat
            Me.btnLogout.Location = New System.Drawing.Point(96, 40)
            Me.btnLogout.Name = "btnLogout"
            Me.btnLogout.Size = New System.Drawing.Size(80, 24)
            Me.btnLogout.TabIndex = 1
            Me.btnLogout.Text = "老会员注销"
            '
            'btnLogin
            '
            Me.btnLogin.FlatStyle = System.Windows.Forms.FlatStyle.Flat
            Me.btnLogin.Location = New System.Drawing.Point(8, 40)
            Me.btnLogin.Name = "btnLogin"
            Me.btnLogin.Size = New System.Drawing.Size(80, 24)
            Me.btnLogin.TabIndex = 0
            Me.btnLogin.Text = "新会员注册"
            '
            'gpSeparator
            '
            Me.gpSeparator.Location = New System.Drawing.Point(8, 48)
            Me.gpSeparator.Name = "gpSeparator"
            Me.gpSeparator.Size = New System.Drawing.Size(376, 8)
            Me.gpSeparator.TabIndex = 12
            Me.gpSeparator.TabStop = False
            '
            'txtBuildDate
            '
            Me.txtBuildDate.BackColor = System.Drawing.Color.WhiteSmoke
            Me.txtBuildDate.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.txtBuildDate.ForeColor = System.Drawing.Color.Navy
            Me.txtBuildDate.Location = New System.Drawing.Point(104, 192)
            Me.txtBuildDate.Name = "txtBuildDate"
            Me.txtBuildDate.ReadOnly = True
            Me.txtBuildDate.Size = New System.Drawing.Size(272, 21)
            Me.txtBuildDate.TabIndex = 4
            Me.txtBuildDate.Text = ""
            Me.txtBuildDate.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
            '
            'txtOffRatio
            '
            Me.txtOffRatio.BackColor = System.Drawing.Color.WhiteSmoke
            Me.txtOffRatio.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.txtOffRatio.ForeColor = System.Drawing.Color.Navy
            Me.txtOffRatio.Location = New System.Drawing.Point(104, 160)
            Me.txtOffRatio.Name = "txtOffRatio"
            Me.txtOffRatio.ReadOnly = True
            Me.txtOffRatio.Size = New System.Drawing.Size(272, 21)
            Me.txtOffRatio.TabIndex = 3
            Me.txtOffRatio.Text = "0.88"
            Me.txtOffRatio.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
            '
            'txtCount
            '
            Me.txtCount.BackColor = System.Drawing.Color.Cornsilk
            Me.txtCount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.txtCount.ForeColor = System.Drawing.Color.Navy
            Me.txtCount.Location = New System.Drawing.Point(104, 128)
            Me.txtCount.MaxLength = 15
            Me.txtCount.Name = "txtCount"
            Me.txtCount.Size = New System.Drawing.Size(272, 21)
            Me.txtCount.TabIndex = 2
            Me.txtCount.Text = ""
            Me.txtCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
            '
            'txtMoney
            '
            Me.txtMoney.BackColor = System.Drawing.Color.Cornsilk
            Me.txtMoney.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.txtMoney.ForeColor = System.Drawing.Color.Navy
            Me.txtMoney.Location = New System.Drawing.Point(104, 96)
            Me.txtMoney.MaxLength = 12
            Me.txtMoney.Name = "txtMoney"
            Me.txtMoney.Size = New System.Drawing.Size(272, 21)
            Me.txtMoney.TabIndex = 1
            Me.txtMoney.Text = ""
            Me.txtMoney.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
            '
            'txtIdenty
            '
            Me.txtIdenty.BackColor = System.Drawing.Color.Cornsilk
            Me.txtIdenty.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.txtIdenty.ForeColor = System.Drawing.Color.Navy
            Me.txtIdenty.Location = New System.Drawing.Point(104, 64)
            Me.txtIdenty.MaxLength = 18
            Me.txtIdenty.Name = "txtIdenty"
            Me.txtIdenty.Size = New System.Drawing.Size(272, 21)
            Me.txtIdenty.TabIndex = 0
            Me.txtIdenty.Text = ""
            '
            'txtAccount
            '
            Me.txtAccount.BackColor = System.Drawing.Color.Cornsilk
            Me.txtAccount.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
            Me.txtAccount.ForeColor = System.Drawing.Color.Navy
            Me.txtAccount.Location = New System.Drawing.Point(104, 24)
            Me.txtAccount.Name = "txtAccount"
            Me.txtAccount.Size = New System.Drawing.Size(272, 21)
            Me.txtAccount.TabIndex = 5
            Me.txtAccount.Text = ""
            '
            'lbBuildDate
            '
            Me.lbBuildDate.Location = New System.Drawing.Point(16, 192)
            Me.lbBuildDate.Name = "lbBuildDate"
            Me.lbBuildDate.Size = New System.Drawing.Size(88, 21)
            Me.lbBuildDate.TabIndex = 5
            Me.lbBuildDate.Text = "注册时日期:"
            '
            'lbOffRatio
            '
            Me.lbOffRatio.Location = New System.Drawing.Point(16, 160)
            Me.lbOffRatio.Name = "lbOffRatio"
            Me.lbOffRatio.Size = New System.Drawing.Size(88, 21)
            Me.lbOffRatio.TabIndex = 4
            Me.lbOffRatio.Text = "优惠折扣值:"
            '
            'lbCount
            '
            Me.lbCount.Location = New System.Drawing.Point(16, 128)
            Me.lbCount.Name = "lbCount"
            Me.lbCount.Size = New System.Drawing.Size(88, 21)
            Me.lbCount.TabIndex = 3
            Me.lbCount.Text = "消费总次数:"
            '
            'lbMoney
            '
            Me.lbMoney.Location = New System.Drawing.Point(16, 96)
            Me.lbMoney.Name = "lbMoney"
            Me.lbMoney.Size = New System.Drawing.Size(88, 21)
            Me.lbMoney.TabIndex = 2
            Me.lbMoney.Text = "消费总金额:"
            '
            'lbIdenty
            '
            Me.lbIdenty.Location = New System.Drawing.Point(16, 64)
            Me.lbIdenty.Name = "lbIdenty"
            Me.lbIdenty.Size = New System.Drawing.Size(88, 21)
            Me.lbIdenty.TabIndex = 1
            Me.lbIdenty.Text = "身份证号码:"
            '
            'lbAccount
            '
            Me.lbAccount.Location = New System.Drawing.Point(16, 24)
            Me.lbAccount.Name = "lbAccount"
            Me.lbAccount.Size = New System.Drawing.Size(88, 21)
            Me.lbAccount.TabIndex = 0
            Me.lbAccount.Text = "VIP 会员号:"
            '
            'frmCustomerManager
            '
            Me.AutoScaleBaseSize = New System.Drawing.Size(6, 14)
            Me.ClientSize = New System.Drawing.Size(408, 326)
            Me.Controls.Add(Me.gpCustomers)
            Me.Name = "frmCustomerManager"
            Me.Text = "VIP 会员信息管理"
            Me.gpCustomers.ResumeLayout(False)
            Me.gpControlPanel.ResumeLayout(False)
            Me.ResumeLayout(False)

        End Sub

#End Region

        Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click
            Me.Close()
        End Sub

⌨️ 快捷键说明

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