frmsfund.frm
来自「家庭理财系统,使用VB6.0编写,相当不错,可以用于课程设计」· FRM 代码 · 共 55 行
FRM
55 行
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form FrmSFund
Caption = "家庭资金统计"
ClientHeight = 3960
ClientLeft = 60
ClientTop = 345
ClientWidth = 7080
LinkTopic = "Form1"
ScaleHeight = 3960
ScaleWidth = 7080
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton Cmd_Back
Caption = "返 回"
Height = 495
Left = 2880
TabIndex = 1
Top = 3240
Width = 1575
End
Begin MSComctlLib.TreeView tree1
Height = 2655
Left = 240
TabIndex = 0
Top = 360
Width = 6615
_ExtentX = 11668
_ExtentY = 4683
_Version = 393217
Style = 7
Appearance = 1
End
End
Attribute VB_Name = "FrmSFund"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Cmd_Back_Click()
Unload Me
End Sub
Private Sub Form_Load()
tree1.HotTracking = True
tree1.HideSelection = False
tree1.LabelEdit = 1
tree1.LineStyle = 1
tree1.Nodes.Add , , "N0", "家庭总资产"
tree1.Nodes.Add "N0", 4, "N1", "银行总存款------共计 " + Trim(MyAcc.CalSum(1)) + " 元"
tree1.Nodes.Add "N0", 4, "N2", "现金总额------共计 " + Trim(MyAcc.CalSum(0)) + " 元"
tree1.Nodes.Add "N0", 4, "N3", "收入总额------共计 " + Trim(MyList.CalSum(0)) + " 元"
tree1.Nodes.Add "N0", 4, "N4", "支出总额------共计 " + Trim(MyList.CalSum(1)) + " 元"
tree1.Nodes(2).Selected = True
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?