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

📄 frmchange.frm

📁 考勤管理系统源码
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Begin VB.Form frmChange 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "调换班"
   ClientHeight    =   4335
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   7035
   BeginProperty Font 
      Name            =   "宋体"
      Size            =   10.5
      Charset         =   134
      Weight          =   400
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   Icon            =   "frmChange.frx":0000
   LinkTopic       =   "Form1"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   4335
   ScaleWidth      =   7035
   ShowInTaskbar   =   0   'False
   StartUpPosition =   1  '所有者中心
   Begin VB.Frame Frame1 
      Height          =   1020
      Left            =   345
      TabIndex        =   18
      Top             =   2895
      Width           =   6330
      Begin VB.CommandButton cmdReturn 
         Caption         =   "返 回(&R)"
         Height          =   435
         Left            =   4815
         TabIndex        =   22
         Top             =   360
         Width           =   1215
      End
      Begin VB.CommandButton cmdAllow 
         Caption         =   "批 准(&A)"
         Enabled         =   0   'False
         Height          =   435
         Left            =   3375
         TabIndex        =   21
         Top             =   360
         Width           =   1215
      End
      Begin VB.TextBox txtAllow 
         Height          =   330
         Left            =   1635
         TabIndex        =   20
         Top             =   390
         Width           =   1320
      End
      Begin VB.Label Label1 
         AutoSize        =   -1  'True
         Caption         =   "调换班批准人:"
         Height          =   210
         Left            =   225
         TabIndex        =   19
         Top             =   450
         Width           =   1365
      End
   End
   Begin VB.Frame fraTwo 
      Height          =   2490
      Left            =   3735
      TabIndex        =   1
      Top             =   150
      Width           =   2955
      Begin VB.TextBox txtTwo 
         BackColor       =   &H00E0E0E0&
         Enabled         =   0   'False
         Height          =   330
         Index           =   3
         Left            =   1140
         TabIndex        =   17
         Top             =   1965
         Width           =   1605
      End
      Begin VB.TextBox txtTwo 
         BackColor       =   &H00E0E0E0&
         Enabled         =   0   'False
         Height          =   330
         Index           =   2
         Left            =   1140
         TabIndex        =   16
         Top             =   1410
         Width           =   1605
      End
      Begin VB.TextBox txtTwo 
         BackColor       =   &H00E0E0E0&
         Enabled         =   0   'False
         Height          =   330
         Index           =   1
         Left            =   1140
         TabIndex        =   15
         Top             =   855
         Width           =   1605
      End
      Begin VB.TextBox txtTwo 
         BackColor       =   &H00E0E0E0&
         Enabled         =   0   'False
         Height          =   330
         Index           =   0
         Left            =   1140
         TabIndex        =   14
         Top             =   300
         Width           =   1605
      End
      Begin VB.Label lblTwo 
         AutoSize        =   -1  'True
         Caption         =   "班  次:"
         Height          =   210
         Index           =   3
         Left            =   285
         TabIndex        =   9
         Top             =   2025
         Width           =   735
      End
      Begin VB.Label lblTwo 
         AutoSize        =   -1  'True
         Caption         =   "日  期:"
         Height          =   210
         Index           =   2
         Left            =   285
         TabIndex        =   8
         Top             =   1470
         Width           =   735
      End
      Begin VB.Label lblTwo 
         AutoSize        =   -1  'True
         Caption         =   "员  工:"
         Height          =   210
         Index           =   1
         Left            =   285
         TabIndex        =   7
         Top             =   915
         Width           =   735
      End
      Begin VB.Label lblTwo 
         AutoSize        =   -1  'True
         Caption         =   "部  门:"
         Height          =   210
         Index           =   0
         Left            =   285
         TabIndex        =   6
         Top             =   360
         Width           =   735
      End
   End
   Begin VB.Frame fraOne 
      Height          =   2490
      Left            =   330
      TabIndex        =   0
      Top             =   150
      Width           =   2955
      Begin VB.TextBox txtOne 
         BackColor       =   &H00E0E0E0&
         Enabled         =   0   'False
         Height          =   330
         Index           =   3
         Left            =   1095
         TabIndex        =   13
         Top             =   1965
         Width           =   1605
      End
      Begin VB.TextBox txtOne 
         BackColor       =   &H00E0E0E0&
         Enabled         =   0   'False
         Height          =   330
         Index           =   2
         Left            =   1095
         TabIndex        =   12
         Top             =   1410
         Width           =   1605
      End
      Begin VB.TextBox txtOne 
         BackColor       =   &H00E0E0E0&
         Enabled         =   0   'False
         Height          =   330
         Index           =   1
         Left            =   1095
         TabIndex        =   11
         Top             =   855
         Width           =   1605
      End
      Begin VB.TextBox txtOne 
         BackColor       =   &H00E0E0E0&
         Enabled         =   0   'False
         Height          =   330
         Index           =   0
         Left            =   1095
         TabIndex        =   10
         Top             =   300
         Width           =   1605
      End
      Begin VB.Label lblOne 
         AutoSize        =   -1  'True
         Caption         =   "班  次:"
         Height          =   210
         Index           =   3
         Left            =   225
         TabIndex        =   5
         Top             =   2025
         Width           =   735
      End
      Begin VB.Label lblOne 
         AutoSize        =   -1  'True
         Caption         =   "日  期:"
         Height          =   210
         Index           =   2
         Left            =   225
         TabIndex        =   4
         Top             =   1470
         Width           =   735
      End
      Begin VB.Label lblOne 
         AutoSize        =   -1  'True
         Caption         =   "员  工:"
         Height          =   210
         Index           =   1
         Left            =   225
         TabIndex        =   3
         Top             =   915
         Width           =   735
      End
      Begin VB.Label lblOne 
         AutoSize        =   -1  'True
         Caption         =   "部  门:"
         ForeColor       =   &H00000000&
         Height          =   210
         Index           =   0
         Left            =   225
         TabIndex        =   2
         Top             =   360
         Width           =   735
      End
   End
End
Attribute VB_Name = "frmChange"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Const OFFSETX = 20
Const OFFSETY = 20
Const OVERCOLOR = &HFFFF&    '&H40C0&
Const OUTCOLOR = &H0&
Const MAXCOUNT = 3
Dim mHandIco As Picture
Dim mOldIndex As Integer

'******lblOneTwo
Const mlblDept = 0
Const mlblName = 1
Const mlblDate = 2
Const mlblShift = 3

Const mMsg1 = "只能对当月进行调换班!!请重选日期."
Const mNotDefine = "未定义"
Const mMsg3 = "调换班不能针对同一个人"
Const mMsg2 = "双方班次相同,无调换班的必要!!"
Const mMsg4 = "抱歉,调换班未成功!"
Const mMsg5 = "恭喜,调换班成功!"

Private Sub cmdAllow_Click()
    If Trim(txtOne(mlblName).Tag) = Trim(txtTwo(mlblName).Tag) Then
        MsgBox mMsg3, vbInformation, gTitle

⌨️ 快捷键说明

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