📄 frm_sfcx_sfl.frm
字号:
VERSION 5.00
Begin VB.Form frm_sfcx_sfl
BorderStyle = 1 'Fixed Single
Caption = "收费率"
ClientHeight = 1620
ClientLeft = 45
ClientTop = 330
ClientWidth = 3090
Icon = "frm_sfcx_sfl.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1620
ScaleWidth = 3090
StartUpPosition = 1 '所有者中心
Begin VB.Label Label6
BackColor = &H80000009&
BorderStyle = 1 'Fixed Single
Height = 315
Left = 1320
TabIndex = 5
Top = 960
Width = 1275
End
Begin VB.Label Label5
Caption = "收费率"
Height = 315
Left = 420
TabIndex = 4
Top = 1020
Width = 675
End
Begin VB.Label Label4
BackColor = &H80000009&
BorderStyle = 1 'Fixed Single
Height = 315
Left = 1320
TabIndex = 3
Top = 540
Width = 1275
End
Begin VB.Label Label3
Caption = "未收费"
Height = 315
Left = 420
TabIndex = 2
Top = 600
Width = 675
End
Begin VB.Label Label2
BackColor = &H80000009&
BorderStyle = 1 'Fixed Single
Height = 315
Left = 1320
TabIndex = 1
Top = 120
Width = 1275
End
Begin VB.Label Label1
Caption = "已收费"
Height = 315
Left = 420
TabIndex = 0
Top = 180
Width = 675
End
End
Attribute VB_Name = "frm_sfcx_sfl"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
Dim cn As ADODB.Connection
Dim rst As New ADODB.Recordset
Set cn = GetCn
rst.Open "select count(*) from jiaofei where sj=0", cn, 0, 1
Label2.Caption = rst(0)
rst.Close
rst.Open "select count(*) from jiaofei where sj=0", cn, 0, 1
Label4.Caption = rst(0)
rst.Close
Label6.Caption = Val(Label2.Caption) / (Val(Label2.Caption) + Val(Label4.Caption)) * 100 & "%"
End Sub
Private Sub Label7_Click()
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -