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

📄 系统设置.frm

📁 餐饮管理系统 登记模板
💻 FRM
字号:
VERSION 5.00
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Object = "{CDE57A40-8B86-11D0-B3C6-00A0C90AEA82}#1.0#0"; "MSDATGRD.OCX"
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form XTSZ 
   Caption         =   "系统设置"
   ClientHeight    =   5280
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   7710
   LinkTopic       =   "Form4"
   ScaleHeight     =   5280
   ScaleWidth      =   7710
   StartUpPosition =   3  'Windows Default
   Begin TabDlg.SSTab SSTab1 
      Height          =   5055
      Left            =   0
      TabIndex        =   0
      Top             =   120
      Width           =   7695
      _ExtentX        =   13573
      _ExtentY        =   8916
      _Version        =   393216
      Style           =   1
      Tab             =   1
      TabHeight       =   520
      BackColor       =   -2147483647
      ForeColor       =   8388608
      TabCaption(0)   =   "系统信息"
      TabPicture(0)   =   "系统设置.frx":0000
      Tab(0).ControlEnabled=   0   'False
      Tab(0).Control(0)=   "Frame2"
      Tab(0).Control(0).Enabled=   0   'False
      Tab(0).ControlCount=   1
      TabCaption(1)   =   "系统设置"
      TabPicture(1)   =   "系统设置.frx":001C
      Tab(1).ControlEnabled=   -1  'True
      Tab(1).Control(0)=   "Frame1"
      Tab(1).Control(0).Enabled=   0   'False
      Tab(1).Control(1)=   "Command3"
      Tab(1).Control(1).Enabled=   0   'False
      Tab(1).Control(2)=   "Command4"
      Tab(1).Control(2).Enabled=   0   'False
      Tab(1).Control(3)=   "Adodc1"
      Tab(1).Control(3).Enabled=   0   'False
      Tab(1).ControlCount=   4
      TabCaption(2)   =   "网络设置"
      TabPicture(2)   =   "系统设置.frx":0038
      Tab(2).ControlEnabled=   0   'False
      Tab(2).Control(0)=   "Label1"
      Tab(2).Control(0).Enabled=   0   'False
      Tab(2).Control(1)=   "DataGrid1"
      Tab(2).Control(1).Enabled=   0   'False
      Tab(2).Control(2)=   "Command1"
      Tab(2).Control(2).Enabled=   0   'False
      Tab(2).Control(3)=   "Command2"
      Tab(2).Control(3).Enabled=   0   'False
      Tab(2).ControlCount=   4
      Begin MSAdodcLib.Adodc Adodc1 
         Height          =   375
         Left            =   2520
         Top             =   3480
         Width           =   2655
         _ExtentX        =   4683
         _ExtentY        =   661
         ConnectMode     =   0
         CursorLocation  =   3
         IsolationLevel  =   -1
         ConnectionTimeout=   15
         CommandTimeout  =   30
         CursorType      =   3
         LockType        =   3
         CommandType     =   2
         CursorOptions   =   0
         CacheSize       =   50
         MaxRecords      =   0
         BOFAction       =   0
         EOFAction       =   0
         ConnectStringType=   1
         Appearance      =   1
         BackColor       =   -2147483643
         ForeColor       =   -2147483640
         Orientation     =   0
         Enabled         =   -1
         Connect         =   $"系统设置.frx":0054
         OLEDBString     =   $"系统设置.frx":00F1
         OLEDBFile       =   ""
         DataSourceName  =   ""
         OtherAttributes =   ""
         UserName        =   ""
         Password        =   ""
         RecordSource    =   "系统设置"
         Caption         =   "Adodc1"
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         _Version        =   393216
      End
      Begin VB.CommandButton Command4 
         Caption         =   "退出"
         Height          =   495
         Left            =   3840
         TabIndex        =   12
         Top             =   4080
         Width           =   1455
      End
      Begin VB.CommandButton Command3 
         Caption         =   "确认"
         Height          =   495
         Left            =   2400
         TabIndex        =   11
         Top             =   4080
         Width           =   1455
      End
      Begin VB.Frame Frame2 
         Caption         =   "系统配置信息"
         Height          =   3375
         Left            =   -73920
         TabIndex        =   10
         Top             =   840
         Width           =   5415
      End
      Begin VB.Frame Frame1 
         Caption         =   "设定启动模块"
         Height          =   2415
         Left            =   1800
         TabIndex        =   5
         Top             =   840
         Width           =   3735
         Begin VB.OptionButton Option1 
            Caption         =   "吧厨出品"
            Height          =   375
            Index           =   3
            Left            =   1080
            TabIndex        =   9
            Top             =   1680
            Width           =   1335
         End
         Begin VB.OptionButton Option1 
            Caption         =   "点菜收银"
            Height          =   375
            Index           =   2
            Left            =   1080
            TabIndex        =   8
            Top             =   1200
            Width           =   1335
         End
         Begin VB.OptionButton Option1 
            Caption         =   "接待预定"
            Height          =   375
            Index           =   1
            Left            =   1080
            TabIndex        =   7
            Top             =   720
            Width           =   1335
         End
         Begin VB.OptionButton Option1 
            Caption         =   "正常启动"
            Height          =   375
            Index           =   0
            Left            =   1080
            TabIndex        =   6
            Top             =   240
            Value           =   -1  'True
            Width           =   1335
         End
      End
      Begin VB.CommandButton Command2 
         Caption         =   "退出"
         Height          =   495
         Left            =   -70320
         TabIndex        =   3
         Top             =   4320
         Width           =   1095
      End
      Begin VB.CommandButton Command1 
         Caption         =   "刷新"
         Height          =   495
         Left            =   -73800
         TabIndex        =   2
         Top             =   4320
         Width           =   1095
      End
      Begin MSDataGridLib.DataGrid DataGrid1 
         Height          =   3135
         Left            =   -74520
         TabIndex        =   1
         Top             =   960
         Width           =   6495
         _ExtentX        =   11456
         _ExtentY        =   5530
         _Version        =   393216
         HeadLines       =   1
         RowHeight       =   15
         BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "MS Sans Serif"
            Size            =   8.25
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         ColumnCount     =   2
         BeginProperty Column00 
            DataField       =   ""
            Caption         =   ""
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         BeginProperty Column01 
            DataField       =   ""
            Caption         =   ""
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         SplitCount      =   1
         BeginProperty Split0 
            BeginProperty Column00 
            EndProperty
            BeginProperty Column01 
            EndProperty
         EndProperty
      End
      Begin VB.Label Label1 
         AutoSize        =   -1  'True
         Caption         =   "网络工作站信息:"
         Height          =   195
         Left            =   -74520
         TabIndex        =   4
         Top             =   600
         Width           =   1440
      End
   End
End
Attribute VB_Name = "XTSZ"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim SelectIndex As Integer

Private Sub Command3_Click()
dbConn.Execute ("update 系统设置 set 启动状态='0'")

dbConn.Execute ("update 系统设置 set 启动状态='1' where 编号='" & CStr(SelectIndex) & "'")
End Sub

Private Sub Option1_Click(Index As Integer)
SelectIndex = Index
End Sub

⌨️ 快捷键说明

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