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

📄 frmchecksel.frm

📁 员工信息管理系统
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmCheckSel 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "考勤月选择"
   ClientHeight    =   4125
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   5910
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   4125
   ScaleWidth      =   5910
   ShowInTaskbar   =   0   'False
   StartUpPosition =   1  '所有者中心
   Begin VB.CommandButton cmdOK 
      Caption         =   "确 定"
      Height          =   375
      Left            =   1200
      TabIndex        =   7
      Top             =   3120
      Width           =   975
   End
   Begin VB.ComboBox cboCheckMonth 
      Height          =   315
      Left            =   3360
      Style           =   2  'Dropdown List
      TabIndex        =   1
      Top             =   1680
      Width           =   615
   End
   Begin VB.CommandButton cmdReturn 
      Caption         =   "返 回"
      Height          =   375
      Left            =   3720
      TabIndex        =   3
      Top             =   3120
      Width           =   975
   End
   Begin VB.ComboBox cboCheckYear 
      Height          =   300
      Left            =   1920
      Style           =   2  'Dropdown List
      TabIndex        =   0
      Top             =   1680
      Width           =   1095
   End
   Begin VB.Label Label2 
      Caption         =   "考勤年月:"
      Height          =   255
      Left            =   960
      TabIndex        =   2
      Top             =   1800
      Width           =   1095
   End
   Begin VB.Label Label4 
      Caption         =   "月"
      Height          =   255
      Left            =   4080
      TabIndex        =   6
      Top             =   1800
      Width           =   255
   End
   Begin VB.Label Label3 
      Caption         =   "年"
      Height          =   255
      Left            =   3120
      TabIndex        =   5
      Top             =   1800
      Width           =   255
   End
   Begin VB.Label Label1 
      Caption         =   "请选择需要处理的考勤年月:"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   13.5
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   480
      TabIndex        =   4
      Top             =   600
      Width           =   4215
   End
End
Attribute VB_Name = "frmCheckSel"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub cmdOK_Click()
    tCheck_ym = cboCheckYear.Text & cboCheckMonth.Text
    Unload Me
    frmCheckInfo.Show vbModal
End Sub

Private Sub cmdReturn_Click()
    Unload Me
End Sub

Private Sub Form_Load()
    Dim i As Integer
     Me.Icon = LoadPicture(App.Path & "\Graph07.ico")
    cboCheckYear.AddItem Year(Date)
    cboCheckYear.AddItem Year(Date) - 1
    cboCheckYear.ListIndex = 0
    
    For i = 1 To 12
        If i < 10 Then
            cboCheckMonth.AddItem "0" & i
        Else
            cboCheckMonth.AddItem i
        End If
        
        If i = Month(Date) Then
            cboCheckMonth.ListIndex = cboCheckMonth.NewIndex
        End If
    Next i
End Sub

⌨️ 快捷键说明

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