📄 mdimain.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Object = "{3CD0D5C7-0803-4552-8FE7-8AA237D544C4}#1.0#0"; "FKMenu.ocx"
Begin VB.MDIForm MDIme
BackColor = &H8000000C&
ClientHeight = 8205
ClientLeft = 165
ClientTop = 630
ClientWidth = 12330
Icon = "MDIMain.frx":0000
LinkTopic = "MDIForm1"
StartUpPosition = 1 '所有者中心
WindowState = 2 'Maximized
Begin MSComctlLib.Toolbar Toolbar1
Align = 1 'Align Top
Height = 600
Left = 0
TabIndex = 1
Top = 0
Width = 12330
_ExtentX = 21749
_ExtentY = 1058
ButtonWidth = 2725
ButtonHeight = 1005
Style = 1
TextAlignment = 1
ImageList = "ImageList12"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 7
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "用电登记 "
Key = "dian"
ImageIndex = 3
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "交费登记"
Key = "ff"
ImageIndex = 17
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "用电量查询"
Key = "dina_find"
ImageIndex = 16
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "交费查询"
Key = "ff_find"
ImageIndex = 7
EndProperty
BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "欠费查询"
Key = "qian_find"
ImageIndex = 18
EndProperty
BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "票据打印"
Key = "print"
ImageIndex = 1
EndProperty
BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "退 出"
Key = "j"
ImageIndex = 12
EndProperty
EndProperty
BorderStyle = 1
OLEDropMode = 1
End
Begin HookMenu.FKMenu FKMenu1
Left = 2400
Top = 4200
_ExtentX = 900
_ExtentY = 900
SelectDisabled = 0 'False
BitmapSize = 12
BmpCount = 0
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin MSComctlLib.StatusBar Sbar
Align = 2 'Align Bottom
Height = 360
Left = 0
TabIndex = 0
Top = 7845
Width = 12330
_ExtentX = 21749
_ExtentY = 635
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 3
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Text = "电表管理系统"
TextSave = "电表管理系统"
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 6
TextSave = "2006-8-24"
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
EndProperty
EndProperty
OLEDropMode = 1
End
Begin MSComctlLib.ImageList ImageList12
Left = 0
Top = 0
_ExtentX = 1005
_ExtentY = 1005
BackColor = 16777215
ImageWidth = 32
ImageHeight = 32
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 19
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIMain.frx":000C
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIMain.frx":0464
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIMain.frx":08BC
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIMain.frx":0D14
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIMain.frx":116C
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIMain.frx":15C4
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIMain.frx":1A1C
Key = ""
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIMain.frx":242E
Key = ""
EndProperty
BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIMain.frx":2886
Key = ""
EndProperty
BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIMain.frx":2CDE
Key = ""
EndProperty
BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIMain.frx":3136
Key = ""
EndProperty
BeginProperty ListImage12 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIMain.frx":358E
Key = ""
EndProperty
BeginProperty ListImage13 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIMain.frx":AA90
Key = ""
EndProperty
BeginProperty ListImage14 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIMain.frx":11F92
Key = ""
EndProperty
BeginProperty ListImage15 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIMain.frx":19494
Key = ""
EndProperty
BeginProperty ListImage16 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIMain.frx":19EA6
Key = ""
EndProperty
BeginProperty ListImage17 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIMain.frx":213A8
Key = ""
EndProperty
BeginProperty ListImage18 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIMain.frx":21C82
Key = ""
EndProperty
BeginProperty ListImage19 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIMain.frx":2255C
Key = ""
EndProperty
EndProperty
End
Begin VB.Menu fee
Caption = "用户交费(&F)"
Begin VB.Menu jiaonadianfei
Caption = "&1.交纳电费"
End
End
Begin VB.Menu mdf
Caption = "数据查询(&F)"
Begin VB.Menu m_usrfind
Caption = "&1.用电查询"
Visible = 0 'False
End
Begin VB.Menu msf
Caption = "&2.交费查询"
End
Begin VB.Menu m_qf
Caption = "&3.欠费查询"
End
Begin VB.Menu m_jd
Caption = "&4.季度统计"
End
Begin VB.Menu m_pj
Caption = "&5.票据打印"
End
End
Begin VB.Menu mczy
Caption = "基本数据维护(&O)"
Begin VB.Menu M_USERYTPE
Caption = "&1.用户信息维护"
End
Begin VB.Menu stardata
Caption = "&3.期初数量更改"
End
Begin VB.Menu m_pass
Caption = "&4.操作密码设置"
End
Begin VB.Menu weihu
Caption = "&2.操作员维护"
End
End
Begin VB.Menu help
Caption = "帮助(&H)"
Begin VB.Menu a
Caption = "关于(&A)"
End
End
Begin VB.Menu exit
Caption = "退出"
End
End
Attribute VB_Name = "MDIme"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim rst As New ADODB.Recordset
Private Sub dcvalue_KeyPress(KeyAscii As Integer)
KeyAscii = 0
End Sub
Private Sub exit_Click()
End
End Sub
Private Sub insert_Click()
frm_用户信息.Show
Me.Caption = frm_用户信息.Caption
End Sub
Private Sub jiaonadianfei_Click()
frm_交费登记.Show
Me.Caption = frm_交费登记.Caption
End Sub
Private Sub m_jd_Click()
Frm_季度汇总.Show
Me.Caption = Frm_季度汇总.Caption
End Sub
Private Sub m_pass_Click()
FRMMMXG.Show
Me.Caption = FRMMMXG.Caption
End Sub
Private Sub m_pj_Click()
Frm_票据打印.Show
Me.Caption = Frm_票据打印.Caption
End Sub
Private Sub m_qf_Click()
Frm_欠费查询.Show
Me.Caption = Frm_欠费查询.Caption
End Sub
Private Sub M_USERYTPE_Click()
frm_用户信息.Show
Me.Caption = frm_用户信息.Caption
End Sub
Private Sub MDIForm_Load()
Dim TempGridppReport As grproLibCtl.GridppReport
Set TempGridppReport = New grproLibCtl.GridppReport
If (TempGridppReport.Register("AY470NYCO0F7") = False) Then
MsgBox "Register Grid++Report Failed, Grid++Report will run in trial mode."
End If
'Frm_季度汇总.Show
End Sub
Private Sub MDIForm_Unload(Cancel As Integer)
gCnn.Close
Set gcon = Nothing
End Sub
Private Sub mgcf_Click()
Frm_交费查询.Show
Me.Caption = Frm_交费查询.Caption
End Sub
Private Sub msf_Click()
frm_交费登记.Show
Me.Caption = frm_交费登记.Caption
End Sub
Private Sub qianfeilm_Click()
Frm_欠费查询.Show
Me.Caption = Frm_欠费查询.Caption
End Sub
Private Sub stardata_Click()
frm_期初录入.Show
Me.Caption = frm_期初录入.Caption
End Sub
Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Trim(Button.Key)
Case "dian"
frm_用电登记.Show
Me.Caption = frm_用电登记.Caption
Case "print"
Frm_票据打印.Show
Me.Caption = Frm_票据打印.Caption
Case "ff"
frm_交费登记.Show
Me.Caption = frm_交费登记.Caption
Case "dina_find"
Frm_用电查询.Show
Me.Caption = Frm_用电查询.Caption
Case "ff_find"
Frm_交费查询.Show
Me.Caption = Frm_交费查询.Caption
Case "qian_find"
Frm_欠费查询.Show
Me.Caption = Frm_欠费查询.Caption
Case "j"
x = MsgBox("真的要退出吗?", vbYesNo + vbQuestion, "警告")
If x = vbYes Then
End
End If
End Select
End Sub
Private Sub weihu_Click()
FRMYHSD.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -