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

📄 frmqueryplan.frm

📁 数据库要求:Access 2000或者更高的版本。 系统要求:Windows系列操作系统。 运行“安装程序”文件夹中的setup.exe文件
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmQueryPlan 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "查询招生计划"
   ClientHeight    =   3090
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   6330
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MDIChild        =   -1  'True
   MinButton       =   0   'False
   ScaleHeight     =   3090
   ScaleWidth      =   6330
   Begin VB.Frame Frame2 
      Caption         =   "按省份查询:"
      Height          =   975
      Left            =   120
      TabIndex        =   4
      Top             =   1800
      Width           =   6015
      Begin VB.TextBox txtProv 
         Height          =   375
         Left            =   1320
         TabIndex        =   6
         Top             =   360
         Width           =   1695
      End
      Begin VB.CommandButton cmdQbyP 
         Caption         =   "查     询"
         Height          =   375
         Left            =   3960
         TabIndex        =   5
         Top             =   360
         Width           =   1215
      End
      Begin VB.Label Label2 
         Caption         =   "请输入省份:"
         Height          =   255
         Left            =   120
         TabIndex        =   7
         Top             =   360
         Width           =   1095
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "按院系查询:"
      Height          =   975
      Left            =   120
      TabIndex        =   0
      Top             =   240
      Width           =   6015
      Begin VB.CommandButton cmdQbyD 
         Caption         =   "查     询"
         Height          =   375
         Left            =   3960
         TabIndex        =   3
         Top             =   360
         Width           =   1215
      End
      Begin VB.TextBox txtDept 
         Height          =   375
         Left            =   1320
         TabIndex        =   1
         Top             =   360
         Width           =   1695
      End
      Begin VB.Label Label1 
         Caption         =   "请输入院系:"
         Height          =   255
         Left            =   120
         TabIndex        =   2
         Top             =   360
         Width           =   1095
      End
   End
   Begin VB.Label Label3 
      Caption         =   "或"
      Height          =   255
      Left            =   120
      TabIndex        =   8
      Top             =   1440
      Width           =   375
   End
End
Attribute VB_Name = "frmQueryPlan"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdQbyD_Click()
  '先检测用户是否输入了查询条件
  If txtDept.Text = "" Then
     MsgBox "没有输入院系查询条件!", vbOKOnly + vbInformation, ""
     Exit Sub
  End If
  frmShowPlan.Show
  
End Sub

Private Sub cmdQbyP_Click()
   If frmQueryPlan.txtProv.Text = "" Then
      MsgBox "没有输入省份查询条件!", vbOKOnly + vbInformation, ""
      Exit Sub
   End If
   frmShowPlan2.Show
  
End Sub

Private Sub Form_Load()
   Dim X0 As Long
   Dim Y0 As Long
   '让窗体居中
   X0 = Screen.Width
   Y0 = Screen.Height
   X0 = (X0 - Me.Width) / 2
   Y0 = (Y0 - Me.Height) / 2
   Me.Move X0, Y0

End Sub

⌨️ 快捷键说明

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