📄 frmsxxg.frm
字号:
VERSION 5.00
Begin VB.Form frmSxxg
BorderStyle = 1 'Fixed Single
Caption = "试题"
ClientHeight = 5712
ClientLeft = 36
ClientTop = 336
ClientWidth = 6192
BeginProperty Font
Name = "宋体"
Size = 10.8
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "frmSxxg.frx":0000
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 5712
ScaleWidth = 6192
StartUpPosition = 2 '屏幕中心
Begin VB.Frame Frame1
Height = 5508
Left = 132
TabIndex = 0
Top = 96
Width = 5952
Begin VB.CommandButton Command5
Caption = "取消"
Height = 360
Left = 4752
TabIndex = 12
Top = 4920
Width = 948
End
Begin VB.CommandButton Command4
Caption = "保存"
Height = 360
Left = 3720
TabIndex = 11
Top = 4920
Width = 948
End
Begin VB.TextBox Text5
Height = 1980
Left = 948
Locked = -1 'True
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 10
Top = 2808
Width = 4764
End
Begin VB.TextBox Text4
Height = 1980
Left = 984
Locked = -1 'True
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 8
Top = 768
Width = 4764
End
Begin VB.TextBox Text3
Height = 324
Left = 4824
Locked = -1 'True
TabIndex = 5
Top = 288
Width = 936
End
Begin VB.TextBox Text2
Height = 324
Left = 2844
TabIndex = 3
Top = 276
Width = 936
End
Begin VB.TextBox Text1
Height = 324
Left = 996
Locked = -1 'True
TabIndex = 1
Top = 264
Width = 936
End
Begin VB.Label Label5
AutoSize = -1 'True
Caption = "答案"
Height = 216
Left = 312
TabIndex = 9
Top = 2844
Width = 432
End
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "内容"
Height = 216
Left = 312
TabIndex = 7
Top = 804
Width = 432
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "难度"
Height = 216
Left = 4116
TabIndex = 6
Top = 336
Width = 432
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "分值"
Height = 216
Left = 2136
TabIndex = 4
Top = 324
Width = 432
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "题型"
Height = 216
Left = 312
TabIndex = 2
Top = 312
Width = 432
End
End
End
Attribute VB_Name = "frmSxxg"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Public TX As String
Public FZ As String
Public ND As String
Public NZ As String
Public DA As String
Private Sub Command4_Click()
If Text2.Text = "" Then
MsgMsg "分值不能为空!"
Exit Sub
End If
If CInt(Text2.Text) <= 0 Then
MsgMsg "分值不能小于0!"
Exit Sub
End If
FZ = Text2.Text
Unload Me
End Sub
Private Sub Command5_Click()
Unload Me
End Sub
Private Sub Form_Load()
SetNumMask Text2
Text1.Text = TX
Text2.Text = FZ
Text3.Text = ND
Text4.Text = NZ
Text5.Text = DA
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -