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

📄 mainform.frm

📁 VB编写的简单销售管理系统
💻 FRM
字号:
VERSION 5.00
Begin VB.Form MainForm 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "销售管理系统"
   ClientHeight    =   7650
   ClientLeft      =   150
   ClientTop       =   540
   ClientWidth     =   10245
   Icon            =   "MainForm.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   Picture         =   "MainForm.frx":08CA
   ScaleHeight     =   7650
   ScaleWidth      =   10245
   StartUpPosition =   2  'CenterScreen
   Begin VB.Menu File 
      Caption         =   "文件(&F)"
      Begin VB.Menu ReLogin 
         Caption         =   "重新登陆"
      End
      Begin VB.Menu UserIdentity 
         Caption         =   "用户身份"
      End
      Begin VB.Menu File_Exit 
         Caption         =   "退出"
         Shortcut        =   ^Q
      End
   End
   Begin VB.Menu Browse 
      Caption         =   "浏览(&B)"
      Begin VB.Menu Browse_Employee 
         Caption         =   "雇员"
      End
      Begin VB.Menu Browse_Production 
         Caption         =   "产品"
      End
      Begin VB.Menu Browse_Customer 
         Caption         =   "客户"
      End
      Begin VB.Menu Browse_OrderForm 
         Caption         =   "订单"
      End
   End
   Begin VB.Menu AddOrder 
      Caption         =   "添加(&A)"
      Begin VB.Menu Add_Employee 
         Caption         =   "雇员"
      End
      Begin VB.Menu Add_Production 
         Caption         =   "产品"
      End
      Begin VB.Menu Add_Customer 
         Caption         =   "客户"
      End
      Begin VB.Menu Add_OrderForm 
         Caption         =   "订单"
      End
   End
   Begin VB.Menu Help 
      Caption         =   "帮助(&H)"
      Begin VB.Menu Help_About 
         Caption         =   "关于"
      End
   End
End
Attribute VB_Name = "MainForm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False

Private Sub Add_Customer_Click()
    AddCustomerDialog.Show vbModal
End Sub

Private Sub Add_Employee_Click()
    AddEmployeeDialog.Show vbModal
End Sub

Private Sub Add_OrderForm_Click()
    AddOrderDialog.Show vbModal
End Sub

Private Sub Add_Production_Click()
    AddProductDialog.Show vbModal
End Sub

Private Sub Browse_Customer_Click()
    BrowseCustomerDialog.Show vbModal
End Sub

Private Sub Browse_Employee_Click()
    BrowseEmployeeDialog.Show vbModal
End Sub

Private Sub File_Exit_Click()
    End
End Sub

Private Sub Form_Load()
    Me.Visible = True
    MoveToCenter
End Sub

Private Sub Help_About_Click()
    frmAbout.Show vbModal
End Sub

Private Sub Browse_OrderForm_Click()
    BrowseOrderDialog.Show vbModal
End Sub

Private Sub Browse_Production_Click()
    BrowseProductDialog.Show vbModal
End Sub

Private Sub ReLogin_Click()
    Unload Me
    frmLogin.Show
End Sub

Private Sub UserIdentity_Click()
    If frmLogin.IsAdmin Then MsgBox "超级用户" Else MsgBox "一般用户"
End Sub

⌨️ 快捷键说明

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