⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mdiform1.frm

📁 多方讨价还价系统
💻 FRM
字号:
VERSION 5.00
Begin VB.MDIForm frmMain 
   BackColor       =   &H8000000A&
   Caption         =   "现代物流谈判原型系统"
   ClientHeight    =   7740
   ClientLeft      =   4320
   ClientTop       =   3180
   ClientWidth     =   10980
   Icon            =   "MDIForm1.frx":0000
   LinkTopic       =   "MDIForm1"
   Picture         =   "MDIForm1.frx":08CA
   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 menuEditor 
      Caption         =   "编辑(&E)"
      Begin VB.Menu menuManagerManage 
         Caption         =   "管理员管理(&M)"
         Begin VB.Menu menuManagerPWchange 
            Caption         =   "密码修改"
         End
      End
      Begin VB.Menu menuBuyermanage 
         Caption         =   "买方管理(&B)"
         Begin VB.Menu menuBuyerInfom 
            Caption         =   "信息管理"
         End
         Begin VB.Menu menuBuyerPassword 
            Caption         =   "密码管理"
         End
      End
      Begin VB.Menu menuSellermanage 
         Caption         =   "卖方管理(&S)"
         Begin VB.Menu menuSellerInfo 
            Caption         =   "交易信息"
         End
         Begin VB.Menu menuSellerPassword 
            Caption         =   "密码"
         End
      End
   End
   Begin VB.Menu menuHelp 
      Caption         =   "帮助(&H)"
      Begin VB.Menu menuAbout 
         Caption         =   "关于(&A)..."
      End
   End
End
Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub MDIForm_Load()
    SetLogonType JQL_NOT_LOGON
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
            menuEditor.Visible = False
        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
        menuEditor.Visible = True
    End If
End Function

Private Sub menuAbout_Click()
frmabout.Show vbModal
End Sub

Private Sub menuBuyerInfom_Click()
frmBuyerInfomanage.Show vbModal
End Sub

Private Sub menuBuyerPassword_Click()
frmChangeBuyerpassword.Show vbModal
End Sub

Private Sub menuExit_Click()
    End
End Sub

Private Sub menuLogoff_Click()
    LogonUser = ""
    Select Case LogonType
        Case JQL_BUYER
            Unload frmBuyer
        Case JQL_SALER
            Unload frmSeller
        Case JQL_ADMIN
    End Select
    SetLogonType JQL_NOT_LOGON
End Sub

Private Sub menuLogon_Click()
    frmLogon.Show vbModal
End Sub

Private Sub menuManagerPWchange_Click()
frmChangeMpw.Show vbModal
End Sub

Private Sub menuSellerInfo_Click()
frmSellerInfomanage.Show vbModal
End Sub

Private Sub menuSellerPassword_Click()
frmChangeSellerpassword.Show vbModal
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -