F_KYGongZiYueBuMen.frm
资源名称:dbbase.rar [点击查看]
上传用户:xiao_xia32
上传日期:2022-07-21
资源大小:1174k
文件大小:2k
源码类别:
企业管理
开发平台:
Visual Basic
- VERSION 5.00
- Begin VB.Form F_KYGongZiYueBuMen
- Caption = "工资月部门汇总"
- ClientHeight = 4080
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 8205
- LinkTopic = "Form1"
- ScaleHeight = 4080
- ScaleWidth = 8205
- StartUpPosition = 3 'Windows Default
- WindowState = 2 'Maximized
- Begin VB.TextBox Text1
- Height = 285
- Left = 840
- TabIndex = 3
- Top = 240
- Width = 1455
- End
- Begin VB.TextBox Text2
- Height = 285
- Left = 3480
- TabIndex = 2
- Top = 240
- Width = 1455
- End
- Begin VB.CommandButton cmdPrint
- Caption = "打印预览"
- Height = 300
- Left = 5280
- TabIndex = 1
- Top = 240
- Width = 1095
- End
- Begin VB.CommandButton cmdClose
- Caption = "关闭"
- Height = 300
- Left = 6480
- TabIndex = 0
- Top = 240
- Width = 1095
- End
- Begin VB.Label Label1
- Caption = "年度"
- Height = 255
- Left = 120
- TabIndex = 5
- Top = 240
- Width = 1095
- End
- Begin VB.Label Label2
- Caption = "月份"
- Height = 255
- Left = 2520
- TabIndex = 4
- Top = 240
- Width = 975
- End
- End
- Attribute VB_Name = "F_KYGongZiYueBuMen"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub cmdClose_Click()
- RSGL.Enabled = True
- Unload Me
- End Sub
- Private Sub cmdPrint_Click()
- Dim NianDu As Integer
- Dim YueFen As Integer
- If IsNumeric(Text1) And IsNumeric(Text2) Then
- NianDu = CDbl(Text1)
- YueFen = CDbl(Text2)
- DataEnvironment1.Commands("Cmd_部门月工资").Parameters("param1").Value = NianDu
- DataEnvironment1.Commands("Cmd_部门月工资").Parameters("param2").Value = YueFen
- DRP_部门月工资.Show
- End If
- End Sub