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

📄 dy_zylx.frm

📁 一个简单的酒店管理系统 用VB.net+SQL2000实现
💻 FRM
字号:
VERSION 5.00
Begin VB.Form dy_zylx 
   ClientHeight    =   2445
   ClientLeft      =   60
   ClientTop       =   60
   ClientWidth     =   4680
   ControlBox      =   0   'False
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   ScaleHeight     =   2445
   ScaleWidth      =   4680
   StartUpPosition =   3  'Windows Default
   Begin VB.Frame Frame1 
      Caption         =   "帐页类型选择"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   2175
      Left            =   120
      TabIndex        =   2
      Top             =   120
      Width           =   4335
      Begin VB.OptionButton opt1 
         Caption         =   "归档帐页"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   735
         Index           =   1
         Left            =   720
         TabIndex        =   1
         Top             =   1200
         Width           =   1215
      End
      Begin VB.OptionButton opt1 
         Caption         =   "现有帐页"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   615
         Index           =   0
         Left            =   720
         TabIndex        =   0
         Top             =   360
         Value           =   -1  'True
         Width           =   1335
      End
   End
End
Attribute VB_Name = "dy_zylx"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim t_f As Boolean
Dim LX As String

Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
    If KeyCode = vbKeyEscape Then
        t_f = False
        Unload Me
    End If
End Sub

Private Sub Form_Load()
    Me.KeyPreview = True
End Sub

Public Property Get ZY_LX() As String
        ZY_LX = LX
End Property

Public Property Let ZY_LX(LLX As String)
        LLX = ZY_LX
End Property

Public Property Get tf() As String
    tf = t_f
End Property

Public Property Let tf(TTF As String)
    TTF = tf
End Property
Private Sub opt1_KeyDown(Index As Integer, KeyCode As Integer, Shift As Integer)
    If KeyCode = 13 Then
        Select Case Index
        Case 0
            LX = "0"
            t_f = True
            Unload Me
        Case 1
            LX = "1"
            t_f = True
            Unload Me
        End Select
    End If
End Sub

⌨️ 快捷键说明

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