【VB开源代码栏目提醒】:文章导读:在新的一年中,各位网友都进入紧张的学习或是工作阶段。网学会员整理了VB开源代码-FrmSFund.frm的相关内容供大家参考,祝大家在新的一年里工作和学习顺利!
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