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

📄 frmother.frm

📁 星级酒店客房管理系统一套很不错的系统
💻 FRM
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Begin VB.Form FrmOther 
   Caption         =   "杂项设置"
   ClientHeight    =   6225
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   7470
   Icon            =   "FrmOther.frx":0000
   LinkTopic       =   "Form1"
   ScaleHeight     =   6225
   ScaleWidth      =   7470
   StartUpPosition =   1  '所有者中心
   Begin MSAdodcLib.Adodc Adodc1 
      Height          =   375
      Left            =   5280
      Top             =   5760
      Visible         =   0   'False
      Width           =   1680
      _ExtentX        =   2963
      _ExtentY        =   661
      ConnectMode     =   0
      CursorLocation  =   3
      IsolationLevel  =   -1
      ConnectionTimeout=   15
      CommandTimeout  =   30
      CursorType      =   3
      LockType        =   3
      CommandType     =   8
      CursorOptions   =   0
      CacheSize       =   50
      MaxRecords      =   0
      BOFAction       =   0
      EOFAction       =   0
      ConnectStringType=   1
      Appearance      =   1
      BackColor       =   -2147483643
      ForeColor       =   -2147483640
      Orientation     =   0
      Enabled         =   -1
      Connect         =   ""
      OLEDBString     =   ""
      OLEDBFile       =   ""
      DataSourceName  =   ""
      OtherAttributes =   ""
      UserName        =   ""
      Password        =   ""
      RecordSource    =   ""
      Caption         =   "Adodc1"
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      _Version        =   393216
   End
   Begin VB.CommandButton Command2 
      Caption         =   "返回"
      Height          =   375
      Left            =   3600
      TabIndex        =   4
      Top             =   5760
      Width           =   940
   End
   Begin VB.CommandButton Command1 
      Caption         =   "应用"
      Height          =   375
      Left            =   2040
      TabIndex        =   3
      Top             =   5760
      Width           =   940
   End
   Begin TabDlg.SSTab SSTab1 
      Height          =   5655
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   7455
      _ExtentX        =   13150
      _ExtentY        =   9975
      _Version        =   393216
      Style           =   1
      Tabs            =   8
      TabsPerRow      =   8
      TabHeight       =   520
      TabCaption(0)   =   "系统参数"
      TabPicture(0)   =   "FrmOther.frx":1982
      Tab(0).ControlEnabled=   -1  'True
      Tab(0).Control(0)=   "Frame1"
      Tab(0).Control(0).Enabled=   0   'False
      Tab(0).ControlCount=   1
      TabCaption(1)   =   "接待登记"
      TabPicture(1)   =   "FrmOther.frx":199E
      Tab(1).ControlEnabled=   0   'False
      Tab(1).ControlCount=   0
      TabCaption(2)   =   "收银结帐"
      TabPicture(2)   =   "FrmOther.frx":19BA
      Tab(2).ControlEnabled=   0   'False
      Tab(2).ControlCount=   0
      TabCaption(3)   =   "网络配置"
      TabPicture(3)   =   "FrmOther.frx":19D6
      Tab(3).ControlEnabled=   0   'False
      Tab(3).ControlCount=   0
      TabCaption(4)   =   "卡读写器"
      TabPicture(4)   =   "FrmOther.frx":19F2
      Tab(4).ControlEnabled=   0   'False
      Tab(4).ControlCount=   0
      TabCaption(5)   =   "话费接口"
      TabPicture(5)   =   "FrmOther.frx":1A0E
      Tab(5).ControlEnabled=   0   'False
      Tab(5).ControlCount=   0
      TabCaption(6)   =   "VOD接口"
      TabPicture(6)   =   "FrmOther.frx":1A2A
      Tab(6).ControlEnabled=   0   'False
      Tab(6).ControlCount=   0
      TabCaption(7)   =   "高级选项"
      TabPicture(7)   =   "FrmOther.frx":1A46
      Tab(7).ControlEnabled=   0   'False
      Tab(7).ControlCount=   0
      Begin VB.Frame Frame1 
         Height          =   5055
         Left            =   120
         TabIndex        =   1
         Top             =   480
         Width           =   7215
         Begin VB.CheckBox Check1 
            Caption         =   "启动系统后直接进入『快速入住』菜单"
            Height          =   180
            Index           =   0
            Left            =   240
            TabIndex        =   2
            Top             =   240
            Width           =   3375
         End
      End
   End
End
Attribute VB_Name = "FrmOther"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim chflag As Boolean
Adodc1.Recordset.MoveFirst
For i = 1 To Check1.Count
If Check1(i - 1).Value = 0 Then
chflag = False
Else
chflag = True
End If
Adodc1.Recordset.Fields(i - 1).Value = chflag
Next
Adodc1.Recordset.Update
End Sub

Private Sub Command2_Click()
Unload Me
End Sub

Private Sub Form_Load()
Dim chflag As Integer
With Adodc1
    .ConnectionString = My_PROVIDER
    .ConnectionTimeout = 30
    .CursorType = adOpenStatic
    .CursorLocation = adUseClient
    .RecordSource = "select * from 杂项"
    .Refresh
End With
'Command1.Caption = CBool(Adodc1.Recordset.Fields(0).Value)
For i = 1 To Check1.Count
    If Not Adodc1.Recordset.EOF Then
    Select Case Adodc1.Recordset.Fields(i - 1).Value
        Case Is = False
            chflag = 0
        Case Is = True
            chflag = 1
        Case Else
    End Select
    Check1(i - 1).Value = chflag
    Adodc1.Recordset.MoveNext
    End If
Next
End Sub

⌨️ 快捷键说明

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