📄 form_cjxt13.frm
字号:
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin MSDataGridLib.DataGrid DataGrid_TK
Bindings = "Form_CJXT13.frx":062A
Height = 2985
Left = 30
TabIndex = 1
Top = 750
Width = 8895
_ExtentX = 15690
_ExtentY = 5265
_Version = 393216
AllowUpdate = -1 'True
HeadLines = 1
RowHeight = 23
FormatLocked = -1 'True
BeginProperty HeadFont {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ColumnCount = 4
BeginProperty Column00
DataField = "ID"
Caption = "编号"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column01
DataField = "score"
Caption = "分数"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column02
DataField = "difficult"
Caption = "难度系数"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
BeginProperty Column03
DataField = "content"
Caption = "题目"
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
SplitCount = 1
BeginProperty Split0
BeginProperty Column00
ColumnWidth = 1214.929
EndProperty
BeginProperty Column01
ColumnWidth = 675.213
EndProperty
BeginProperty Column02
ColumnWidth = 1049.953
EndProperty
BeginProperty Column03
ColumnWidth = 4694.74
EndProperty
EndProperty
End
Begin MSComctlLib.ImageList ImageList1
Left = 660
Top = 30
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 32
ImageHeight = 16
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 1
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form_CJXT13.frx":0641
Key = "退出"
Object.Tag = "Exit"
EndProperty
EndProperty
End
Begin MSComctlLib.Toolbar Toolbar1
Align = 1 'Align Top
Height = 420
Left = 0
TabIndex = 4
Top = 0
Width = 9090
_ExtentX = 16034
_ExtentY = 741
ButtonWidth = 1032
Appearance = 1
ImageList = "ImageList1"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 1
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "Exit"
Object.ToolTipText = "退出"
ImageIndex = 1
EndProperty
EndProperty
End
Begin VB.Label Label3
Caption = "所要删除的编号:"
BeginProperty Font
Name = "楷体_GB2312"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 225
Left = 4950
TabIndex = 9
Top = 3870
Width = 1845
End
Begin VB.Label Label2
Caption = "所要选择的编号:"
BeginProperty Font
Name = "楷体_GB2312"
Size = 10.5
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 225
Left = 210
TabIndex = 8
Top = 3840
Width = 1845
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "所 有 填 空 题"
BeginProperty Font
Name = "楷体_GB2312"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 3330
TabIndex = 0
Top = 480
Width = 1815
End
End
Attribute VB_Name = "Form_CJXT13"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Form_CJXT12.Show
Form_CJXT13.Hide
End Sub
Private Sub Command2_Click()
Form_CJXT14.Show
Form_CJXT13.Hide
End Sub
Private Sub Command3_Click()
ret = MsgBox("是否要选择该题目!", 4 + 32 + 256 + 4096, "确定")
If ret = vbYes Then
Cmd.CommandType = adCmdText
Cmd.CommandText = "insert into shijuan(ID,score,difficult,content) select ID,score,difficult,content from blank where ID='" & Text1.Text & "'"
Cmd.Execute
ret = MsgBox("恭喜您,你已经成功选择该题目!")
Adodc_shijuan.Refresh
DataGrid_shijuan.Refresh
Else
Form_CJXT13.Show
End If
End Sub
Private Sub Command4_Click()
ret = MsgBox("是否要删除该题目!", 4 + 32 + 256 + 4096, "确定")
If ret = vbYes Then
Cmd.CommandType = adCmdText
Cmd.CommandText = "delete from shijuan where ID='" & Text2.Text & "'"
Cmd.Execute
ret = MsgBox("恭喜您,你已经成功删除该题目!")
Adodc_shijuan.Refresh
DataGrid_shijuan.Refresh
Else
Form_CJXT13.Show
End If
End Sub
Private Sub DataGrid_shijuan_Click()
With DataGrid_shijuan
If .Col = 0 And .Row >= 0 Then
Text2.Text = .Text
End If
End With
End Sub
Private Sub DataGrid_TK_Click()
With DataGrid_TK
If .Col = 0 And .Row >= 0 Then
Text1.Text = .Text
End If
End With
End Sub
Private Sub Form_Load()
Height = 8000
Width = 9300
Left = 4700
Top = 1700
End Sub
Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Button.Key
Case "Exit"
Unload Me
End Select
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -