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

📄 frmset.frm

📁 KTV管理系统,实现了基本的日常操作.程序有不完善之处,请自修升级修改.
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmSet 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "系统设置"
   ClientHeight    =   5775
   ClientLeft      =   45
   ClientTop       =   435
   ClientWidth     =   6360
   Icon            =   "frmSet.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   5775
   ScaleWidth      =   6360
   StartUpPosition =   1  '所有者中心
   Begin VB.Frame Frame2 
      Caption         =   "基本设置"
      Height          =   1815
      Left            =   120
      TabIndex        =   9
      Top             =   2160
      Width           =   6135
      Begin VB.CommandButton Command6 
         Caption         =   "包厢设置"
         Height          =   375
         Left            =   360
         TabIndex        =   13
         Top             =   960
         Width           =   1815
      End
      Begin VB.CommandButton Command5 
         Caption         =   "服务员设置"
         Height          =   375
         Left            =   4200
         TabIndex        =   12
         Top             =   360
         Width           =   1695
      End
      Begin VB.CommandButton Command4 
         Caption         =   "费用设置"
         Height          =   375
         Left            =   2280
         TabIndex        =   11
         Top             =   360
         Width           =   1695
      End
      Begin VB.CommandButton Command3 
         Caption         =   "散桌设置"
         Height          =   375
         Left            =   360
         TabIndex        =   10
         Top             =   360
         Width           =   1815
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "服务器参数"
      Height          =   1935
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   6135
      Begin VB.CommandButton Command2 
         Caption         =   "返回"
         Height          =   375
         Left            =   4320
         TabIndex        =   8
         Top             =   1200
         Width           =   1215
      End
      Begin VB.CommandButton Command1 
         Caption         =   "确定"
         Height          =   375
         Left            =   4320
         TabIndex        =   7
         Top             =   600
         Width           =   1215
      End
      Begin VB.TextBox Text3 
         Height          =   270
         Left            =   1560
         TabIndex        =   6
         Top             =   1320
         Width           =   2055
      End
      Begin VB.TextBox Text2 
         Height          =   270
         Left            =   1560
         TabIndex        =   4
         Top             =   840
         Width           =   2055
      End
      Begin VB.TextBox Text1 
         Height          =   270
         Left            =   1560
         TabIndex        =   3
         Top             =   360
         Width           =   2055
      End
      Begin VB.Label Label3 
         Caption         =   "server:"
         Height          =   255
         Left            =   600
         TabIndex        =   5
         Top             =   1320
         Width           =   735
      End
      Begin VB.Label Label2 
         Caption         =   "port:"
         Height          =   255
         Left            =   720
         TabIndex        =   2
         Top             =   840
         Width           =   855
      End
      Begin VB.Label Label1 
         Caption         =   "ip:"
         Height          =   255
         Left            =   720
         TabIndex        =   1
         Top             =   360
         Width           =   855
      End
   End
   Begin VB.Image Image1 
      Height          =   1770
      Left            =   120
      Picture         =   "frmSet.frx":1982
      Top             =   3960
      Width           =   6120
   End
End
Attribute VB_Name = "frmSet"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
reg = WriteToFile("set", "ip", Trim(Text1.Text))
reg = WriteToFile("set", "port", Trim(Text2.Text))
reg = WriteToFile("set", "server", Trim(Text3.Text))
End Sub

Private Sub Command2_Click()
Unload Me
End Sub

Private Sub Command3_Click()
FrmSZset.Show
End Sub

Private Sub Command4_Click()
FrmFYset.Show
End Sub

Private Sub Command5_Click()
FrmFFYset.Show
End Sub

Private Sub Command6_Click()
FrmBBset.Show
End Sub

Private Sub Form_Load()
Text1.Text = ReadFromFile("set", "ip")
Text2.Text = ReadFromFile("set", "port")
Text3.Text = ReadFromFile("set", "server")
End Sub

Private Sub Image1_Click()
frmAbout.Show
End Sub

⌨️ 快捷键说明

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