frmdinw.frm

来自「网上教务管理系统 包括(教师」· FRM 代码 · 共 130 行

FRM
130
字号
VERSION 5.00
Object = "{0BA686C6-F7D3-101A-993E-0000C0EF6F5E}#2.0#0"; "THREED20.OCX"
Begin VB.Form frmDinW 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "记录定位"
   ClientHeight    =   1920
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   3960
   Icon            =   "frmDinW.frx":0000
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   1920
   ScaleWidth      =   3960
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  'CenterScreen
   Begin VB.TextBox txtXueH 
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   14.25
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00000000&
      Height          =   405
      Left            =   840
      TabIndex        =   0
      Top             =   570
      Width           =   2415
   End
   Begin Threed.SSCommand cmdexit 
      Height          =   435
      Left            =   2190
      TabIndex        =   3
      Top             =   1230
      Width           =   1065
      _ExtentX        =   1879
      _ExtentY        =   767
      _Version        =   131073
      Font3D          =   2
      PictureFrames   =   1
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Picture         =   "frmDinW.frx":030A
      Caption         =   "取消"
      Alignment       =   4
      PictureAlignment=   1
   End
   Begin Threed.SSCommand CMDYES 
      Height          =   435
      Left            =   840
      TabIndex        =   2
      Top             =   1230
      Width           =   1065
      _ExtentX        =   1879
      _ExtentY        =   767
      _Version        =   131073
      Font3D          =   2
      PictureFrames   =   1
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Picture         =   "frmDinW.frx":0624
      Caption         =   "确定"
      Alignment       =   4
      PictureAlignment=   1
   End
   Begin VB.Label Label1 
      Caption         =   "请输入定位学号:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00000000&
      Height          =   315
      Left            =   870
      TabIndex        =   1
      Top             =   210
      Width           =   1875
   End
End
Attribute VB_Name = "frmDinW"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim rec As Recordset
Private Sub cmdExit_Click()
Unload Me
End Sub

Private Sub cmdYes_Click()
XH = ""
If Len(txtXueH) = 0 Then
    MsgBox "学号为空", vbExclamation + vbOKOnly, "警告"
Else
    XH = Trim(txtXueH)
End If
Unload Me
End Sub

Private Sub txtXueH_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Call cmdYes_Click
End If
End Sub

⌨️ 快捷键说明

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