📄 frmaddstudentinfo.frm
字号:
VERSION 5.00
Object = "{CE671F01-259E-40DA-92FE-95803E2ECBB5}#1.0#0"; "SmartXPButton.ocx"
Object = "{0ECD9B60-23AA-11D0-B351-00A0C9055D8E}#6.0#0"; "MSHFLXGD.OCX"
Object = "{C932BA88-4374-101B-A56C-00AA003668DC}#1.1#0"; "MSMASK32.OCX"
Begin VB.Form FrmAddStudentInfo
BackColor = &H00E7DFE7&
BorderStyle = 1 'Fixed Single
Caption = "学籍信息设置"
ClientHeight = 5475
ClientLeft = 45
ClientTop = 330
ClientWidth = 11445
Icon = "FrmAddStudentInfo.frx":0000
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MDIChild = -1 'True
MinButton = 0 'False
ScaleHeight = 5475
ScaleWidth = 11445
Begin VB.Frame Frame2
BackColor = &H00E7DFE7&
BorderStyle = 0 'None
Enabled = 0 'False
Height = 4335
Left = 120
TabIndex = 22
Top = 120
Width = 6135
Begin VB.TextBox txtTel
Height = 315
Left = 1110
TabIndex = 6
Top = 2250
Width = 1290
End
Begin VB.TextBox txtAdd
Height = 315
Left = 1110
TabIndex = 8
Top = 2925
Width = 4575
End
Begin VB.ComboBox cboSex
Height = 300
Left = 1110
Style = 2 'Dropdown List
TabIndex = 4
Top = 1575
Width = 735
End
Begin VB.TextBox txtcomment
Height = 315
Left = 1110
TabIndex = 9
Top = 3600
Width = 4590
End
Begin VB.TextBox txtstudentName
Height = 315
Left = 1110
TabIndex = 0
Top = 240
Width = 1260
End
Begin VB.ComboBox cboGrade
Height = 300
Left = 4275
TabIndex = 1
Top = 240
Width = 1275
End
Begin VB.ComboBox cboClass
Height = 300
Left = 1110
TabIndex = 2
Top = 915
Width = 1320
End
Begin VB.TextBox txtStudentId
Height = 315
Left = 4275
Locked = -1 'True
TabIndex = 3
Top = 915
Width = 1335
End
Begin MSMask.MaskEdBox txtInDate
Height = 315
Left = 4275
TabIndex = 7
Top = 2250
Width = 1335
_ExtentX = 2355
_ExtentY = 556
_Version = 393216
MaxLength = 10
Mask = "####-##-##"
PromptChar = "_"
End
Begin MSMask.MaskEdBox txtBirth
Height = 315
Left = 4275
TabIndex = 5
Top = 1575
Width = 1335
_ExtentX = 2355
_ExtentY = 556
_Version = 393216
MaxLength = 10
Mask = "####-##-##"
PromptChar = "_"
End
Begin VB.Label Label1
Alignment = 1 'Right Justify
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "学号:"
Height = 180
Left = 3300
TabIndex = 32
Top = 975
Width = 540
End
Begin VB.Label Label2
Alignment = 1 'Right Justify
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "姓名:"
Height = 180
Left = 90
TabIndex = 31
Top = 300
Width = 540
End
Begin VB.Label Label3
Alignment = 1 'Right Justify
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "性别:"
Height = 180
Left = 90
TabIndex = 30
Top = 1635
Width = 540
End
Begin VB.Label Label5
Alignment = 1 'Right Justify
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "班号:"
Height = 180
Left = 90
TabIndex = 29
Top = 975
Width = 540
End
Begin VB.Label Label6
Alignment = 1 'Right Justify
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "联系电话:"
Height = 180
Left = 90
TabIndex = 28
Top = 2310
Width = 900
End
Begin VB.Label Label7
Alignment = 1 'Right Justify
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "入校时间:"
Height = 180
Left = 3300
TabIndex = 27
Top = 2310
Width = 900
End
Begin VB.Label Label8
Alignment = 1 'Right Justify
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "家庭住址:"
Height = 180
Left = 90
TabIndex = 26
Top = 2985
Width = 900
End
Begin VB.Label Label9
Alignment = 1 'Right Justify
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "注释:"
Height = 180
Left = 90
TabIndex = 25
Top = 3660
Width = 540
End
Begin VB.Label Label4
Alignment = 1 'Right Justify
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "出生日期:"
Height = 180
Left = 3300
TabIndex = 24
Top = 1635
Width = 900
End
Begin VB.Label Label10
Alignment = 1 'Right Justify
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "年级名称:"
Height = 180
Left = 3300
TabIndex = 23
Top = 300
Width = 900
End
End
Begin VB.Frame Frame1
BackColor = &H00E7DFE7&
Caption = "查询条件"
Height = 1575
Left = 6360
TabIndex = 19
Top = 3720
Width = 4935
Begin VB.TextBox txtClass
Height = 375
IMEMode = 3 'DISABLE
Left = 1200
MaxLength = 3
TabIndex = 15
Top = 1080
Width = 1935
End
Begin VB.TextBox txtName
Height = 375
IMEMode = 3 'DISABLE
Left = 1200
MaxLength = 20
TabIndex = 14
Top = 360
Width = 1935
End
Begin SmartXPButton.XpButton cmdFind
Height = 495
Left = 3480
TabIndex = 16
Top = 360
Width = 1335
_ExtentX = 2355
_ExtentY = 873
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 = "查找(&F)"
CaptionMouseOverColor= 16711680
PictureBackColor= 15790320
PictureSmoothBackColor= 15790320
ButtonPicture = "FrmAddStudentInfo.frx":1CFA
End
Begin SmartXPButton.XpButton cmdReturn
Height = 495
Left = 3480
TabIndex = 17
Top = 960
Width = 1335
_ExtentX = 2355
_ExtentY = 873
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
CaptionAreaPercent= 100
Caption = "返回(&B)"
CaptionMouseOverColor= 16711680
PictureSmoothBackColor= 15460844
End
Begin VB.Label Label12
Alignment = 1 'Right Justify
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "班号:"
Height = 180
Left = 600
TabIndex = 21
Top = 1200
Width = 540
End
Begin VB.Label Label11
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "姓名:"
Height = 180
Left = 600
TabIndex = 20
Top = 480
Width = 540
End
End
Begin SmartXPButton.XpButton cmdAdd
Height = 495
Left = 120
TabIndex = 10
Top = 4680
Width = 1335
_ExtentX = 2355
_ExtentY = 873
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
CaptionAreaPercent= 100
Caption = "添加(&A)"
PictureSmoothBackColor= 15460844
End
Begin MSHierarchicalFlexGridLib.MSHFlexGrid StudentGrid
Height = 3255
Left = 6360
TabIndex = 18
Top = 360
Width = 4935
_ExtentX = 8705
_ExtentY = 5741
_Version = 393216
BackColorFixed = 15196135
BackColorBkg = 15196135
BackColorUnpopulated= 15196135
_NumberOfBands = 1
_Band(0).Cols = 2
End
Begin SmartXPButton.XpButton cmdDel
Height = 495
Left = 3320
TabIndex = 12
Top = 4680
Width = 1335
_ExtentX = 2355
_ExtentY = 873
Enabled = 0 'False
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 = "删除(&D)"
CaptionMouseOverColor= 16711680
PictureBackColor= 15790320
PictureSmoothBackColor= 15790320
ButtonPicture = "FrmAddStudentInfo.frx":40DC
End
Begin SmartXPButton.XpButton cmdSave
Height = 495
Left = 1720
TabIndex = 11
Top = 4680
Width = 1335
_ExtentX = 2355
_ExtentY = 873
Enabled = 0 'False
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 = "保存(&S)"
CaptionMouseOverColor= 16711680
PictureBackColor= 15790320
PictureSmoothBackColor= 15790320
ButtonPicture = "FrmAddStudentInfo.frx":4676
End
Begin SmartXPButton.XpButton cmdExit
Cancel = -1 'True
Height = 495
Left = 4920
TabIndex = 13
Top = 4680
Width = 1335
_ExtentX = 2355
_ExtentY = 873
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 = "关闭(&E)"
CaptionMouseOverColor= 16711680
PictureBackColor= 15790320
PictureSmoothBackColor= 15790320
ButtonPicture = "FrmAddStudentInfo.frx":4CB0
End
End
Attribute VB_Name = "FrmAddStudentInfo"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim myModiStudent As OpenRs '声明连接数据库的类
Dim Change As Boolean
Private Sub cboClass_Click()
txtStudentId.Text = ""
cmdDel.Enabled = False
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -