📄 frmlesnifm.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form frmLesnIfm
Caption = "课程资料"
ClientHeight = 7620
ClientLeft = 165
ClientTop = 450
ClientWidth = 9720
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "frmLesnIfm.frx":0000
LinkTopic = "Form1"
MDIChild = -1 'True
ScaleHeight = 7620
ScaleWidth = 9720
WindowState = 2 'Maximized
Begin VB.Frame fraModfi
Caption = "输入/修改"
Height = 855
Left = 120
TabIndex = 6
Top = 960
Width = 9480
Begin VB.TextBox txtLesnName
Height = 375
Left = 3360
TabIndex = 1
Top = 290
Width = 1215
End
Begin VB.TextBox txtBookName
Height = 375
Left = 5760
TabIndex = 2
Top = 290
Width = 1215
End
Begin VB.TextBox txtTeacher
Height = 375
Left = 8160
TabIndex = 3
Top = 290
Width = 975
End
Begin VB.TextBox txtLesnNum
Height = 375
Left = 840
TabIndex = 0
Top = 290
Width = 1335
End
Begin VB.Label labTeacher
Caption = "任课老师"
Height = 255
Left = 7320
TabIndex = 10
Top = 360
Width = 855
End
Begin VB.Label labBookName
Caption = "教材名称"
Height = 255
Left = 4920
TabIndex = 9
Top = 360
Width = 855
End
Begin VB.Label lblLesnName
Caption = "课程名称"
Height = 255
Left = 2520
TabIndex = 8
Top = 360
Width = 855
End
Begin VB.Label lblLesnNum
Caption = "课程号"
Height = 255
Left = 240
TabIndex = 7
Top = 360
Width = 615
End
End
Begin MSComctlLib.ListView lsvLesnIfm
Height = 5480
Left = 120
TabIndex = 5
Top = 2000
Width = 9480
_ExtentX = 16722
_ExtentY = 9657
LabelEdit = 1
LabelWrap = 0 'False
HideSelection = 0 'False
FullRowSelect = -1 'True
GridLines = -1 'True
_Version = 393217
ForeColor = -2147483640
BackColor = -2147483643
BorderStyle = 1
Appearance = 1
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
NumItems = 0
End
Begin MSComctlLib.ImageList imlLesnIfm
Left = 8760
Top = 360
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 32
ImageHeight = 32
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 8
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmLesnIfm.frx":0CFA
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmLesnIfm.frx":1A04
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmLesnIfm.frx":22DE
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmLesnIfm.frx":2438
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmLesnIfm.frx":2D12
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmLesnIfm.frx":3164
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmLesnIfm.frx":4FE6
Key = ""
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmLesnIfm.frx":6CF0
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.Toolbar tbrLesnIfm
Align = 1 'Align Top
Height = 810
Left = 0
TabIndex = 4
Top = 0
Width = 9720
_ExtentX = 17145
_ExtentY = 1429
ButtonWidth = 1455
ButtonHeight = 1376
Appearance = 1
Style = 1
ImageList = "imlLesnIfm"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 8
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "新建"
Key = "新建"
ImageIndex = 1
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "保存"
Key = "保存"
ImageIndex = 2
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "删除"
Key = "删除"
ImageIndex = 3
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "刷新"
Key = "刷新"
ImageIndex = 4
EndProperty
BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "全部显示"
Key = "全部显示"
ImageIndex = 5
EndProperty
BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "查找"
Key = "查找"
ImageIndex = 6
EndProperty
BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "清空"
Key = "清空"
ImageIndex = 7
EndProperty
BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "退出"
Key = "退出"
ImageIndex = 8
EndProperty
EndProperty
BorderStyle = 1
End
End
Attribute VB_Name = "frmLesnIfm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
'载入表头以及清空
Private Sub Form_Load()
Call HeadList
lsvLesnIfm.ListItems.Clear
txtLesnNum.Text = ""
txtLesnName.Text = ""
txtBookName.Text = ""
txtTeacher.Text = ""
End Sub
'载入表头
Private Sub HeadList()
With lsvLesnIfm.ColumnHeaders
.Add , , "课程号", 2100
.Add , , "课程名称", 1800
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -