?? mainform1.frm
字號(hào):
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.MDIForm mainForm1
BackColor = &H8000000C&
Caption = "重慶交通學(xué)院(大坪)學(xué)生寢室信息管理"
ClientHeight = 8280
ClientLeft = 165
ClientTop = 555
ClientWidth = 14700
Icon = "mainForm1.frx":0000
LinkTopic = "MDIForm1"
Begin MSComctlLib.ImageList ImageList1
Left = 6600
Top = 960
_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 = "mainForm1.frx":1082
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "mainForm1.frx":14D4
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "mainForm1.frx":1926
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "mainForm1.frx":1D78
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "mainForm1.frx":21CA
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "mainForm1.frx":28C4
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "mainForm1.frx":2BDE
Key = ""
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "mainForm1.frx":2EF8
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.Toolbar Toolbar1
Align = 1 'Align Top
Height = 795
Left = 0
TabIndex = 0
Top = 0
Width = 14700
_ExtentX = 25929
_ExtentY = 1402
ButtonWidth = 2725
ButtonHeight = 1349
AllowCustomize = 0 'False
Appearance = 1
Style = 1
ImageList = "ImageList1"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 5
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "學(xué)生基本信息錄入"
Key = "a"
ImageIndex = 2
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "寢室查詢"
Key = "b"
ImageIndex = 4
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "學(xué)生查詢"
Key = "c"
ImageIndex = 5
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "寢室評(píng)分查詢"
Key = "e"
ImageIndex = 6
EndProperty
BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "幫助"
Key = "f"
ImageIndex = 8
EndProperty
EndProperty
BorderStyle = 1
MousePointer = 1
End
Begin VB.Menu 系統(tǒng)
Caption = "系統(tǒng)管理"
Begin VB.Menu 添加用戶
Caption = "添加用戶"
Shortcut = ^A
End
Begin VB.Menu 修改密碼
Caption = "修改密碼"
Shortcut = ^U
End
Begin VB.Menu aSS
Caption = "-"
End
Begin VB.Menu 退出系統(tǒng)
Caption = "退出系統(tǒng)"
Shortcut = ^Q
End
End
Begin VB.Menu 學(xué)生管理
Caption = "學(xué)生管理"
Begin VB.Menu 學(xué)生基本信息錄入
Caption = "學(xué)生基本信息錄入"
Shortcut = ^I
End
Begin VB.Menu 瀏覽所有學(xué)生信息
Caption = "瀏覽所有學(xué)生信息"
End
Begin VB.Menu kkkkk
Caption = "-"
End
Begin VB.Menu 學(xué)生信息修改
Caption = "學(xué)生信息修改"
Shortcut = ^X
End
Begin VB.Menu 學(xué)生離校注銷
Caption = "學(xué)生離校注銷"
Shortcut = ^L
End
End
Begin VB.Menu 居住管理
Caption = "居住管理"
Begin VB.Menu 居住信息出入
Caption = "居住信息出入"
End
Begin VB.Menu asdasd
Caption = "-"
End
Begin VB.Menu 新學(xué)期注冊(cè)
Caption = "新學(xué)期注冊(cè)"
End
End
Begin VB.Menu 查詢管理
Caption = "查詢管理"
Begin VB.Menu 寢室情況查詢
Caption = "寢室情況查詢"
End
Begin VB.Menu 學(xué)生情況查詢
Caption = "學(xué)生情況查詢"
End
Begin VB.Menu a
Caption = "-"
End
Begin VB.Menu 其他
Caption = "其他"
End
End
Begin VB.Menu 寢室管理
Caption = "寢室管理"
Begin VB.Menu 寢室評(píng)分錄入
Caption = "寢室評(píng)分錄入"
End
Begin VB.Menu hhhhgg
Caption = "-"
End
Begin VB.Menu 寢室評(píng)分查詢
Caption = "寢室評(píng)分查詢"
End
End
Begin VB.Menu 幫助
Caption = "幫助"
Begin VB.Menu 關(guān)于我們
Caption = "關(guān)于我們"
End
Begin VB.Menu dddd
Caption = "-"
End
Begin VB.Menu 您想知道的
Caption = "您想知道的?"
End
End
Begin VB.Menu ABC
Caption = ""
Enabled = 0 'False
Begin VB.Menu 查看所有學(xué)生信息
Caption = "瀏覽所有學(xué)生信息"
Shortcut = ^F
End
Begin VB.Menu ddddd
Caption = "個(gè)人信息>>"
Begin VB.Menu m
Caption = "系統(tǒng)開發(fā)人員:莫小明"
End
Begin VB.Menu kaifa
Caption = "系統(tǒng)開發(fā)時(shí)間:2005年5月"
End
Begin VB.Menu 訪問我的主頁(yè)
Caption = "訪問我的主頁(yè)"
End
Begin VB.Menu d
Caption = "盜者后果自負(fù)!"
End
End
End
End
Attribute VB_Name = "mainForm1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim mrc As ADODB.Recordset
Private Sub MDIForm_Load()
Me.WindowState = 2 '讓剛剛開始時(shí)就使屏幕最大化
Me.Arrange vbCascade '層疊子窗子
Me.Arrange vbArrangeIcons '排列所有最小化子窗體圖標(biāo)
End Sub
Private Sub 查看所有學(xué)生信息_Click()
Dim MsgText As String
Dim txtSQL As String
'///////////////////////////////////
txtSQL = "select * from student_if"
Set mrc = ExecuteSQL(txtSQL, MsgText)
'/////////////判斷
If mrc.EOF = True Then
a = MsgBox("庫(kù)里沒任何東西,請(qǐng)先錄入學(xué)生信息!", 0, "警告")
If a = 1 Then
Exit Sub
End If
Else
studentall.Show
End If
End Sub
Private Sub MDIForm_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 2 Then
Me.PopupMenu ABC
End If
End Sub
Private Sub 當(dāng)月文明寢室_Click()
End Sub
Private Sub 當(dāng)月最差寢室_Click()
End Sub
Private Sub 臨時(shí)調(diào)整_Click()
End Sub
Private Sub 居住信息出入_Click()
juzhuxinxi.Show
End Sub
Private Sub 瀏覽所有學(xué)生信息_Click()
Dim MsgText As String
Dim txtSQL As String
'///////////////////////////////////
txtSQL = "select * from student_if"
Set mrc = ExecuteSQL(txtSQL, MsgText)
'/////////////判斷
If mrc.EOF = True Then
a = MsgBox("庫(kù)里沒任何東西,請(qǐng)先錄入學(xué)生信息!", , "警告")
If a = 1 Then
Exit Sub
End If
Else
studentall.Show
End If
End Sub
Private Sub 寢室評(píng)分查詢_Click()
pingfenchaxun.Show
End Sub
Private Sub 寢室評(píng)分錄入_Click()
pingfen.Show
End Sub
Private Sub 寢室情況查詢_Click()
qinshichaxun.Show
End Sub
Private Sub 添加用戶_Click()
useradd.Show
End Sub
Private Sub 退出系統(tǒng)_Click()
Unload Me
End
End Sub
Private Sub 新生報(bào)到_Click()
studentinfo.Show
End Sub
Private Sub 新學(xué)期注冊(cè)_Click()
xinxueqi.Show
End Sub
Private Sub 修改密碼_Click()
xiougai.Show
End Sub
Private Sub 學(xué)生基本情況錄入_Click()
End Sub
Private Sub 學(xué)生基本信息錄入_Click()
studentinfo.Show
End Sub
Private Sub 學(xué)生離校注銷_Click()
Dim MsgText As String
Dim txtSQL As String
'///////////////////////////////////
txtSQL = "select * from student_if"
Set mrc = ExecuteSQL(txtSQL, MsgText)
'/////////////判斷
If mrc.EOF = True Then
a = MsgBox("庫(kù)里沒任何東西,沒有必要注銷!", 0, "警告")
If a = 1 Then
Exit Sub
End If
Else
studentlixiao.Show
End If
End Sub
Private Sub 學(xué)生情況查詢_Click()
Dim MsgText As String
Dim txtSQL As String
'///////////////////////////////////
txtSQL = "select * from student_if"
Set mrc = ExecuteSQL(txtSQL, MsgText)
'/////////////判斷
If mrc.EOF = True Then
a = MsgBox("庫(kù)里沒任何東西,不可以修改!", 0, "警告")
If a = 1 Then
Exit Sub
End If
Else
studentxxcx.Show
End If
End Sub
Private Sub 學(xué)生信息修改_Click()
Dim MsgText As String
Dim txtSQL As String
'///////////////////////////////////
txtSQL = "select * from student_if"
Set mrc = ExecuteSQL(txtSQL, MsgText)
'/////////////判斷
If mrc.EOF = True Then
a = MsgBox("庫(kù)里沒任何東西,沒有什么好要查詢的!", 0, "警告")
If a = 1 Then
Exit Sub
End If
Else
student_ifxiougai.Show
End If
End Sub
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -