📄 mdiform1.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.MDIForm grctxt
BackColor = &H8000000C&
Caption = "个人财务系统"
ClientHeight = 7935
ClientLeft = 60
ClientTop = 345
ClientWidth = 10335
Icon = "MDIForm1.frx":0000
LinkTopic = "MDIForm1"
StartUpPosition = 1 '所有者中心
WindowState = 2 'Maximized
Begin MSComctlLib.ImageList ImageList1
Left = 4920
Top = 3720
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 32
ImageHeight = 32
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 4
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":08CA
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":0D1C
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":1036
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "MDIForm1.frx":27C8
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.Toolbar Toolbar1
Align = 1 'Align Top
Height = 660
Left = 0
TabIndex = 0
Top = 0
Width = 10335
_ExtentX = 18230
_ExtentY = 1164
ButtonWidth = 1032
ButtonHeight = 1005
Appearance = 1
ImageList = "ImageList1"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 4
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "A"
Object.ToolTipText = "记账薄"
ImageIndex = 4
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "B"
Object.ToolTipText = "账务查询"
ImageIndex = 3
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "C"
Object.ToolTipText = "系统设置"
ImageIndex = 1
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "D"
Object.ToolTipText = "退出"
ImageIndex = 2
EndProperty
EndProperty
End
End
Attribute VB_Name = "grctxt"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub MDIForm_Load()
inputfrm.Show
End Sub
Private Sub MDIForm_Unload(Cancel As Integer)
If db.State = 1 Then
db.Close
End If
End Sub
Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Button.Key
Case "A"
inputfrm.Show
If Status2 = 1 Then Unload query
If Status3 = 1 Then Unload administer
Exit Sub
Case "B"
sid = 0
query.Show
If Status1 = 1 Then Unload inputfrm
If Status3 = 1 Then Unload administer
Exit Sub
Case "C"
administer.Show
If Status2 = 1 Then Unload query
If Status1 = 1 Then Unload inputfrm
Exit Sub
Case "D"
If db.State = 1 Then
db.Close
End If
End
Case "E"
Form1.Show
End Select
'administer.Show
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -