📄 tjlbform.frm
字号:
VERSION 5.00
Object = "{27634C13-AC02-4C0B-A31D-18DCAA87ABF7}#2.0#0"; "DLDATE.OCX"
Begin VB.Form tjlbform
BackColor = &H00FFC0C0&
BorderStyle = 5 'Sizable ToolWindow
Caption = "添加类别"
ClientHeight = 3195
ClientLeft = 60
ClientTop = 285
ClientWidth = 4455
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3195
ScaleWidth = 4455
ShowInTaskbar = 0 'False
StartUpPosition = 1 '所有者中心
Begin OsenXPControls2.CommandButton CommandButton2
Height = 345
Left = 2655
TabIndex = 5
Top = 2205
Width = 660
_ExtentX = 1164
_ExtentY = 609
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Caption = "离开 "
ForeColor = 16711680
ForeHover = 255
End
Begin OsenXPControls2.CommandButton CommandButton1
Height = 330
Left = 945
TabIndex = 4
Top = 2220
Width = 660
_ExtentX = 1164
_ExtentY = 582
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Caption = "确认 "
ForeColor = 16711680
ForeHover = 255
End
Begin VB.TextBox Text1
Appearance = 0 'Flat
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 2415
TabIndex = 3
Top = 1245
Width = 1455
End
Begin VB.OptionButton Option2
BackColor = &H00FFC0C0&
Caption = "收入"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00404000&
Height = 300
Left = 2610
TabIndex = 1
Top = 495
Width = 945
End
Begin VB.OptionButton Option1
BackColor = &H00FFC0C0&
Caption = "支出 "
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00404000&
Height = 270
Left = 930
TabIndex = 0
Top = 510
Width = 840
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "请输入类别的名称:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00004000&
Height = 210
Left = 480
TabIndex = 2
Top = 1275
Width = 1890
End
End
Attribute VB_Name = "tjlbform"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub CommandButton1_Click()
If Text1 = "" Then
MsgBox "添加名称不能为空", 48, "提示"
Exit Sub
End If
If Option1.Value = True Then
Open App.Path + "\lenbiezc.szl" For Append As #1
Print #1, Text1.Text
Close #1
End If
If Option2.Value = True Then
Open App.Path + "\lenbiesr.szl" For Append As #2
Print #2, Text1.Text
Close #2
End If
Text1.Text = ""
'mainfrm.SetFocus
Call xiesz
End Sub
Private Sub CommandButton2_Click()
Unload Me
End Sub
Private Sub Form_Activate()
Text1.SetFocus
End Sub
Private Sub Form_Unload(Cancel As Integer)
Unload frmdj
Load frmdj
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -