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

📄 dy_zyzh.frm

📁 一个简单的酒店管理系统 用VB.net+SQL2000实现
💻 FRM
字号:
VERSION 5.00
Begin VB.Form dy_zyzh 
   ClientHeight    =   1485
   ClientLeft      =   60
   ClientTop       =   60
   ClientWidth     =   3990
   ControlBox      =   0   'False
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   ScaleHeight     =   1485
   ScaleWidth      =   3990
   StartUpPosition =   3  'Windows Default
   Begin VB.TextBox m_zh 
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   270
      Left            =   1680
      MaxLength       =   5
      TabIndex        =   0
      Top             =   360
      Width           =   1215
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      BackColor       =   &H00C0FFFF&
      Caption         =   "请输入帐号:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FF0000&
      Height          =   210
      Left            =   240
      TabIndex        =   2
      Top             =   360
      Width           =   1260
   End
   Begin VB.Label MSG 
      AutoSize        =   -1  'True
      BackColor       =   &H80000018&
      ForeColor       =   &H00FF0000&
      Height          =   180
      Left            =   2400
      TabIndex        =   1
      Top             =   120
      Width           =   90
   End
   Begin VB.Label Label2 
      BackColor       =   &H80000018&
      Height          =   1455
      Left            =   0
      TabIndex        =   3
      Top             =   0
      Width           =   3975
   End
End
Attribute VB_Name = "dy_zyzh"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim t_f As Boolean
Dim Z_H As String

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

Private Sub Form_Load()
    KeyPreview = True
End Sub

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

Public Property Let tf(TTF As Boolean)
    TTF = tf
End Property

Public Property Get zh() As String
    zh = Z_H
End Property

Public Property Let zh(zzH As String)
    zzH = zh
End Property
Private Sub m_zh_KeyDown(KeyCode As Integer, Shift As Integer)
    If KeyCode = vbKeyReturn Then
        If Not Trim(m_zh.Text) = "" Then
            Z_H = UCase(Trim(m_zh.Text))
            t_f = True
            Unload Me
        Else
            t_f = False
            Unload Me
        End If
    End If
End Sub


⌨️ 快捷键说明

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