📄 classedit.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Begin VB.Form classedit
Caption = "班级管理"
ClientHeight = 6045
ClientLeft = 60
ClientTop = 345
ClientWidth = 7710
Icon = "classedit.frx":0000
LinkTopic = "Form1"
ScaleHeight = 6045
ScaleWidth = 7710
StartUpPosition = 3 'Windows Default
Begin MSComctlLib.ImageList ImageList1
Left = 1320
Top = 4920
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 5
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "classedit.frx":0ECA
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "classedit.frx":1D1E
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "classedit.frx":44D2
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "classedit.frx":5326
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "classedit.frx":5C02
Key = ""
EndProperty
EndProperty
End
Begin VB.PictureBox Picture2
Appearance = 0 'Flat
BackColor = &H8000000B&
BorderStyle = 0 'None
ForeColor = &H80000008&
Height = 855
Left = 3720
ScaleHeight = 855
ScaleWidth = 3975
TabIndex = 4
Top = 5040
Width = 3975
Begin VB.CommandButton Command1
Cancel = -1 'True
Caption = "退 出(&Q)"
BeginProperty Font
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2160
TabIndex = 8
Top = 480
Width = 1815
End
Begin VB.CommandButton Command2
Caption = "添加系部(&A)"
Enabled = 0 'False
BeginProperty Font
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 120
TabIndex = 7
Top = 0
Width = 1815
End
Begin VB.CommandButton Command3
Caption = "删除系部(&D)"
Enabled = 0 'False
BeginProperty Font
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 120
TabIndex = 6
Top = 480
Width = 1815
End
Begin VB.CommandButton Command4
Caption = "编辑系部(&M)"
Enabled = 0 'False
BeginProperty Font
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2160
TabIndex = 5
Top = 0
Width = 1815
End
End
Begin VB.PictureBox Picture1
BackColor = &H00FFE09E&
Height = 4935
Left = 0
Picture = "classedit.frx":64DE
ScaleHeight = 4875
ScaleWidth = 2475
TabIndex = 1
Top = 0
Width = 2535
Begin VB.Shape Shape2
BorderColor = &H0000FF00&
BorderWidth = 2
Height = 15
Left = 120
Top = 1000
Width = 2055
End
Begin VB.Shape Shape1
BorderColor = &H000000FF&
BorderWidth = 2
Height = 15
Left = 120
Top = 960
Width = 2175
End
Begin VB.Label Label5
BackStyle = 0 'Transparent
Caption = "班级管理"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 375
Index = 1
Left = 1005
TabIndex = 12
Top = 525
Width = 1335
End
Begin VB.Image Image1
Height = 600
Left = 120
Picture = "classedit.frx":40542
Stretch = -1 'True
Top = 240
Width = 840
End
Begin VB.Label Label5
BackStyle = 0 'Transparent
Caption = "班级管理"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF8080&
Height = 375
Index = 0
Left = 960
TabIndex = 11
Top = 480
Width = 1335
End
Begin VB.Label Label4
BackStyle = 0 'Transparent
Caption = "详细信息"
BeginProperty Font
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000D&
Height = 375
Left = 120
TabIndex = 10
Top = 2760
Width = 1695
End
Begin VB.Label Label3
Alignment = 1 'Right Justify
BackStyle = 0 'Transparent
Caption = "Label1"
BeginProperty Font
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000C0&
Height = 1455
Left = 120
TabIndex = 9
Top = 3000
Width = 2295
End
Begin VB.Label Label2
Alignment = 1 'Right Justify
BackStyle = 0 'Transparent
Caption = "西安科技学院"
BeginProperty Font
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000C0&
Height = 615
Left = 120
TabIndex = 3
Top = 2160
Width = 2295
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "您所选的"
BeginProperty Font
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000D&
Height = 375
Left = 120
TabIndex = 2
Top = 1800
Width = 1695
End
End
Begin MSComctlLib.TreeView TreeView1
Height = 4935
Left = 2640
TabIndex = 0
Top = 0
Width = 5175
_ExtentX = 9128
_ExtentY = 8705
_Version = 393217
HideSelection = 0 'False
LabelEdit = 1
Style = 7
ImageList = "ImageList1"
BorderStyle = 1
Appearance = 1
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
End
Attribute VB_Name = "classedit"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
'退出案件
Unload Me
End Sub
Private Sub Command4_Click()
'修改案件
Dim nodX As Node
Dim temp As New ADODB.Recordset
b = Left(TreeView1.SelectedItem.Key, 1)
Select Case b
Case "R"
Case "X"
Dim kkx As New addxi
kkx.Caption = "修改系部"
kkx.Label1 = "请修改系部的名称(&M)"
kkx.Text1.Text = Left(TreeView1.SelectedItem.Text, Len(TreeView1.SelectedItem.Text) - 1)
kkx.Show 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -