📄 系统信息修改.frm
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Begin VB.Form Form5
Caption = "校历、作息信息修改"
ClientHeight = 4530
ClientLeft = 60
ClientTop = 450
ClientWidth = 6705
LinkTopic = "Form5"
ScaleHeight = 4530
ScaleWidth = 6705
StartUpPosition = 2 '屏幕中心
Begin VB.TextBox Text4
DataField = "money_per_hour"
DataSource = "Adodc1"
Height = 375
Left = 2160
TabIndex = 16
Top = 2880
Width = 1935
End
Begin VB.TextBox Text2
DataField = "afternoon"
DataSource = "Adodc1"
Height = 375
Left = 1920
TabIndex = 13
Top = 1920
Width = 1815
End
Begin VB.TextBox Text1
DataField = "morning"
DataSource = "Adodc1"
Height = 375
Left = 1920
TabIndex = 12
Top = 1200
Width = 1815
End
Begin MSAdodcLib.Adodc Adodc1
Height = 330
Left = 4800
Top = 3720
Visible = 0 'False
Width = 1455
_ExtentX = 2566
_ExtentY = 582
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 2
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;User ID=sa;Initial Catalog=student;Data Source=127.0.0.1"
OLEDBString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;User ID=sa;Initial Catalog=student;Data Source=127.0.0.1"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "sysinfo"
Caption = "Adodc1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin VB.CommandButton Command2
Caption = "取 消"
Height = 495
Left = 3120
TabIndex = 11
Top = 3600
Width = 1455
End
Begin VB.CommandButton Command1
Caption = "确 定"
Height = 495
Left = 1080
TabIndex = 10
Top = 3600
Width = 1455
End
Begin MSComCtl2.DTPicker DTPicker1
Bindings = "系统信息修改.frx":0000
DataField = "week1"
BeginProperty DataFormat
Type = 1
Format = "gg yy/MM/dd"
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 3
EndProperty
DataSource = "Adodc1"
Height = 375
Left = 1920
TabIndex = 9
Top = 480
Width = 1815
_ExtentX = 3201
_ExtentY = 661
_Version = 393216
Format = 21168129
CurrentDate = 39163
End
Begin VB.ComboBox Combo7
DataField = "big_less_be"
DataSource = "Adodc1"
Height = 300
ItemData = "系统信息修改.frx":0020
Left = 5400
List = "系统信息修改.frx":0036
TabIndex = 8
Top = 1800
Width = 735
End
Begin VB.ComboBox Combo6
DataField = "lesson_between"
DataSource = "Adodc1"
Height = 300
ItemData = "系统信息修改.frx":0051
Left = 5400
List = "系统信息修改.frx":0061
TabIndex = 7
Top = 1080
Width = 735
End
Begin VB.ComboBox Combo5
DataField = "lesson_long"
DataSource = "Adodc1"
Height = 300
ItemData = "系统信息修改.frx":0074
Left = 5400
List = "系统信息修改.frx":0087
TabIndex = 6
Top = 360
Width = 735
End
Begin VB.TextBox Text3
DataField = "week1"
BeginProperty DataFormat
Type = 1
Format = "yyyy/MM/dd"
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 3
EndProperty
DataSource = "Adodc1"
Height = 270
Left = 1920
TabIndex = 14
Top = 480
Width = 1455
End
Begin VB.Label Label7
Caption = "每小时上机金额:"
Height = 255
Left = 480
TabIndex = 15
Top = 2880
Width = 1935
End
Begin VB.Shape Shape2
Height = 615
Left = 360
Top = 2760
Width = 6015
End
Begin VB.Shape Shape1
Height = 2415
Left = 360
Top = 120
Width = 6015
End
Begin VB.Label Label6
Caption = "大课间隔时长"
Height = 375
Left = 4080
TabIndex = 5
Top = 1920
Width = 1215
End
Begin VB.Label Label5
Caption = "课间休息时长"
Height = 495
Left = 4080
TabIndex = 4
Top = 1080
Width = 1215
End
Begin VB.Label Label4
Caption = "每节课的时长"
Height = 495
Left = 4080
TabIndex = 3
Top = 360
Width = 1215
End
Begin VB.Label Label3
Caption = "下午第一节课的开始时间"
Height = 375
Left = 600
TabIndex = 2
Top = 1920
Width = 1095
End
Begin VB.Label Label2
Caption = "上午第一节课的开始时间"
Height = 375
Left = 600
TabIndex = 1
Top = 1200
Width = 1095
End
Begin VB.Label Label1
Caption = "本学期第一周周一的日期"
Height = 375
Left = 600
TabIndex = 0
Top = 480
Width = 1095
End
End
Attribute VB_Name = "Form5"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Adodc1.Recordset.UpdateBatch
MsgBox " 修改成功!"
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub DTPicker1_Change()
yy = Year(DTPicker1.Value)
mm = Month(DTPicker1.Value)
dd = Day(DTPicker1.Value)
Text3.Text = yy & "-" & mm & "-" & dd
Text3.SetFocus
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -