?? fmstart.frm
字號:
VERSION 5.00
Begin VB.Form fmStart
BackColor = &H8000000A&
BorderStyle = 1 'Fixed Single
Caption = "排課管理系統"
ClientHeight = 2580
ClientLeft = 375
ClientTop = 495
ClientWidth = 4770
Icon = "fmStart.frx":0000
LinkTopic = "Form4"
MaxButton = 0 'False
ScaleHeight = 2580
ScaleWidth = 4770
StartUpPosition = 2 'CenterScreen
Begin VB.Frame Frame1
BackColor = &H8000000A&
Height = 2295
Left = 240
TabIndex = 0
Top = 120
Width = 4335
Begin VB.PictureBox Picture1
BackColor = &H8000000C&
BorderStyle = 0 'None
Height = 1335
Left = 2880
Picture = "fmStart.frx":0442
ScaleHeight = 2.355
ScaleMode = 0 'User
ScaleWidth = 1.931
TabIndex = 5
Top = 240
Width = 1095
End
Begin VB.Timer Timer1
Enabled = 0 'False
Interval = 1000
Left = 2400
Top = 720
End
Begin VB.CommandButton Command2
BackColor = &H8000000A&
Caption = "作者信息"
Height = 495
Left = 2400
Style = 1 'Graphical
TabIndex = 4
Top = 1680
Width = 1695
End
Begin VB.CommandButton Command1
BackColor = &H8000000A&
Caption = "確定"
Default = -1 'True
Height = 495
Left = 480
Style = 1 'Graphical
TabIndex = 2
Top = 1680
Width = 1695
End
Begin VB.ComboBox Combo1
Height = 315
ItemData = "fmStart.frx":4994
Left = 480
List = "fmStart.frx":4996
TabIndex = 1
Top = 840
Width = 1935
End
Begin VB.Label Label1
BackColor = &H00FF8080&
BackStyle = 0 'Transparent
Caption = "選擇你要進行的操作:"
BeginProperty Font
Name = "宋體"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 375
Left = 480
TabIndex = 3
Top = 360
Width = 2415
End
End
End
Attribute VB_Name = "fmStart"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim strRun As String
Dim iTp As Integer
Private Sub Command1_Click()
Me.MousePointer = 11
Timer1.Enabled = True
strRun = LTrim$(RTrim$(Combo1.Text))
Select Case strRun
Case Combo1.List(0):
Form1.Show
Case Combo1.List(1):
Form2.Show
Case Combo1.List(2):
Form3.Show
Case Combo1.List(3):
Form4.Show
Case Combo1.List(4):
Form5.Show
Case Combo1.List(5):
Form6.Show
Case Else:
MsgBox "請選擇一正確的操作項", vbInformation + vbOKOnly, "操作"
End Select
End Sub
Private Sub Command2_Click()
frmAbout.Show
End Sub
Private Sub Form_Load()
Combo1.AddItem "教職員入庫信息"
Combo1.AddItem "排課管理"
Combo1.AddItem "教職員帶課查詢"
Combo1.AddItem "本學期課程設置"
Combo1.AddItem "打印課程表"
Combo1.AddItem "打印教師代課表"
End Sub
Private Sub Form_Unload(Cancel As Integer)
iTp = MsgBox("你確定要退出本系統", vbYesNo + vbQuestion, "退出")
If iTp = vbNo Then
Cancel = 1
End If
If Cancel = 0 Then
End
End If
End Sub
Private Sub Timer1_Timer()
Timer1.Enabled = False
Me.MousePointer = 0
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -