frmshowgrade.frm

来自「本科毕业设计-商贸有限公司销售管理系统(论文+源代码+答辩PPT)」· FRM 代码 · 共 96 行

FRM
96
字号
VERSION 5.00
Begin VB.Form frmShowGrade 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "查询员工销售额"
   ClientHeight    =   3720
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   6555
   LinkTopic       =   "Form1"
   MDIChild        =   -1  'True
   ScaleHeight     =   3720
   ScaleWidth      =   6555
   Begin VB.Frame fraquery 
      Caption         =   "按员工号查询销售额"
      Height          =   2175
      Left            =   120
      TabIndex        =   1
      Top             =   1080
      Width           =   6255
      Begin VB.CommandButton cmdCancel 
         Cancel          =   -1  'True
         Caption         =   "取      消"
         Height          =   495
         Left            =   3720
         TabIndex        =   4
         Top             =   1320
         Width           =   1575
      End
      Begin VB.CommandButton cmdquery 
         Caption         =   "查    询"
         Default         =   -1  'True
         Height          =   495
         Left            =   1320
         TabIndex        =   3
         Top             =   1320
         Width           =   1575
      End
      Begin VB.TextBox txtNo 
         Height          =   375
         Left            =   3240
         TabIndex        =   2
         Top             =   600
         Width           =   1695
      End
      Begin VB.Label lblName 
         Caption         =   "员工号:"
         Height          =   375
         Left            =   1680
         TabIndex        =   5
         Top             =   720
         Width           =   855
      End
   End
   Begin VB.CommandButton cmdallem 
      Caption         =   "显示全部员工销售额"
      Height          =   495
      Left            =   120
      TabIndex        =   0
      Top             =   240
      Width           =   1935
   End
End
Attribute VB_Name = "frmShowGrade"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub cmdallem_Click()
   allem = True
   frmGrade.Show
End Sub

Private Sub cmdCancel_Click()
   Unload Me
End Sub

Private Sub cmdquery_Click()
   allem = False
   frmGrade.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 + =
减小字号Ctrl + -
显示快捷键?