?? frmmanage.frm
字號(hào):
VERSION 5.00
Begin VB.MDIForm frmmanage
BackColor = &H8000000A&
Caption = "現(xiàn)代物流談判原型系統(tǒng)"
ClientHeight = 7740
ClientLeft = 4320
ClientTop = 3180
ClientWidth = 11985
Icon = "MDIAdmin.frx":0000
LinkTopic = "MDIForm1"
Begin VB.Menu menuUser
Caption = "用戶(&U)"
Begin VB.Menu menuLogon
Caption = "登陸(&L)..."
End
Begin VB.Menu menuLogoff
Caption = "注銷(&O)..."
End
Begin VB.Menu menuSplitBar1
Caption = "-"
End
Begin VB.Menu menuExit
Caption = "退出(&X)"
End
End
Begin VB.Menu menuHelp
Caption = "幫助(&H)"
Begin VB.Menu menuAbout
Caption = "關(guān)于(&A)..."
End
End
End
Attribute VB_Name = "frmmanage"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub MDIForm_Load()
SetLogonType JQL_NOT_LOGON
ConnStr = "Driver={Microsoft Access Driver (*.mdb)};DBQ=" & App.Path & "\negotiation.mdb"
dbTableNames = Array("", "buyregister", "sellregister", "manager")
End Sub
Function SetLogonType(Optional t As LogonTypes)
If IsMissing(t) Then t = LogonType
Select Case t
Case JQL_NOT_LOGON
menuLogoff.Enabled = False
menuLogon.Enabled = True
Case JQL_BUYER, JQL_SALER, JQL_ADMIN
menuLogon.Enabled = False
menuLogoff.Enabled = True
End Select
If t = JQL_BUYER Then
frmBuyer.Show vbModeless
End If
If t = JQL_SALER Then
frmSeller.Show vbModeless
End If
If t = JQL_ADMIN Then
frmadmin.Show vbModeless
End If
End Function
Private Sub menuExit_Click()
End
End Sub
Private Sub menuLogoff_Click()
LogonUser = ""
Select Case LogonType
Case JQL_BUYER
Unload frmBuyer
Case JQL_SALER
Case JQL_ADMIN
End Select
SetLogonType JQL_NOT_LOGON
End Sub
Private Sub menuLogon_Click()
frmLogon.Show vbModal
End Sub
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -