📄 frmcbb.frm
字号:
VERSION 5.00
Begin VB.Form frmcbb
ClientHeight = 4155
ClientLeft = 60
ClientTop = 345
ClientWidth = 4425
LinkTopic = "Form1"
ScaleHeight = 4155
ScaleWidth = 4425
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command2
Caption = "退出"
Height = 495
Left = 2520
TabIndex = 9
Top = 3240
Width = 855
End
Begin VB.TextBox Text3
Height = 855
Left = 1680
TabIndex = 6
Top = 2160
Width = 1815
End
Begin VB.TextBox Text1
Height = 375
Left = 1680
TabIndex = 5
Top = 1560
Width = 1815
End
Begin VB.ComboBox Combo1
Height = 300
Left = 1680
TabIndex = 4
Text = "Combo1"
Top = 480
Width = 1815
End
Begin VB.CommandButton Command1
Caption = "添加"
Height = 495
Left = 840
TabIndex = 1
Top = 3240
Width = 855
End
Begin VB.TextBox Text2
Height = 375
Left = 1680
TabIndex = 0
Top = 960
Width = 1815
End
Begin VB.Label Label4
Caption = "说明"
Height = 375
Left = 720
TabIndex = 8
Top = 2160
Width = 735
End
Begin VB.Label Label3
Caption = "报价"
Height = 375
Left = 720
TabIndex = 7
Top = 1560
Width = 735
End
Begin VB.Label Label2
Caption = "成本"
Height = 375
Left = 720
TabIndex = 3
Top = 1080
Width = 735
End
Begin VB.Label Label1
Caption = "费用类别"
Height = 495
Left = 720
TabIndex = 2
Top = 480
Width = 735
End
End
Attribute VB_Name = "frmcbb"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim i As Integer
i = frmfwgl.hfgrid1.Rows - 1
frmfwgl.hfgrid1.Rows = frmfwgl.hfgrid1.Rows + 1
frmfwgl.hfgrid1.TextMatrix(i, 0) = Combo1.Text
frmfwgl.hfgrid1.TextMatrix(i, 1) = Text1.Text
frmfwgl.hfgrid1.TextMatrix(i, 2) = Text2.Text
frmfwgl.hfgrid1.TextMatrix(i, 3) = Text3.Text
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Form_Load()
Combo1.AddItem "装修费"
Combo1.AddItem "房费"
Combo1.AddItem "物业费"
Combo1.AddItem "材料费"
Combo1.ListIndex = 0
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -