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

📄 frmmdi.frm

📁 超市的管理系统
💻 FRM
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.MDIForm frmMDI 
   BackColor       =   &H0080C0FF&
   Caption         =   "腾龙信息系统"
   ClientHeight    =   7995
   ClientLeft      =   165
   ClientTop       =   555
   ClientWidth     =   10875
   Icon            =   "frmMDI.frx":0000
   LinkTopic       =   "MDIForm1"
   Picture         =   "frmMDI.frx":030A
   WindowState     =   2  'Maximized
   Begin VB.Timer Timer2 
      Interval        =   200
      Left            =   5160
      Top             =   4320
   End
   Begin VB.Timer Timer1 
      Interval        =   1000
      Left            =   3960
      Top             =   3360
   End
   Begin MSComctlLib.ImageList ImageList1 
      Left            =   2640
      Top             =   2640
      _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         =   "frmMDI.frx":16FC5
            Key             =   ""
         EndProperty
         BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMDI.frx":172DF
            Key             =   ""
         EndProperty
         BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMDI.frx":175F9
            Key             =   ""
         EndProperty
         BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMDI.frx":17ED3
            Key             =   ""
         EndProperty
         BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMDI.frx":181ED
            Key             =   ""
         EndProperty
         BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMDI.frx":18507
            Key             =   ""
         EndProperty
         BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMDI.frx":18821
            Key             =   ""
         EndProperty
         BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmMDI.frx":190FB
            Key             =   ""
         EndProperty
      EndProperty
   End
   Begin MSComctlLib.Toolbar Toolbar1 
      Align           =   1  'Align Top
      Height          =   870
      Left            =   0
      TabIndex        =   1
      Top             =   0
      Width           =   10875
      _ExtentX        =   19182
      _ExtentY        =   1535
      ButtonWidth     =   1455
      ButtonHeight    =   1376
      Appearance      =   1
      ImageList       =   "ImageList1"
      _Version        =   393216
      BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
         NumButtons      =   7
         BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "销售登记"
            Key             =   "SaleLog"
            ImageIndex      =   1
         EndProperty
         BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "进货登记"
            Key             =   "StockLog"
            ImageIndex      =   6
         EndProperty
         BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "销售查询"
            Key             =   "querysale"
            ImageIndex      =   3
         EndProperty
         BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "进货查询"
            Key             =   "querystock"
            ImageIndex      =   4
         EndProperty
         BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "库存查询"
            Key             =   "queryStorage"
            ImageIndex      =   7
         EndProperty
         BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "权限设置"
            Key             =   "PopedomSet"
            ImageIndex      =   5
         EndProperty
         BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "退出系统"
            Key             =   "exit"
            ImageIndex      =   2
         EndProperty
      EndProperty
   End
   Begin MSComctlLib.StatusBar StatusBar1 
      Align           =   2  'Align Bottom
      Height          =   495
      Left            =   0
      TabIndex        =   0
      Top             =   7500
      Width           =   10875
      _ExtentX        =   19182
      _ExtentY        =   873
      _Version        =   393216
      BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628} 
         NumPanels       =   3
         BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Object.Width           =   14111
            MinWidth        =   14111
            Key             =   "wellcome"
         EndProperty
         BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Object.Width           =   6174
            MinWidth        =   6174
            Key             =   "time"
         EndProperty
         BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Object.Width           =   6174
            MinWidth        =   6174
            Key             =   "user"
         EndProperty
      EndProperty
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   14.25
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   -1  'True
         Strikethrough   =   0   'False
      EndProperty
   End
   Begin VB.Menu SysMnu 
      Caption         =   "系统目录(&S)"
      Begin VB.Menu PopedomSet 
         Caption         =   "用户权限设置(&P)"
      End
      Begin VB.Menu MenSep1 
         Caption         =   "-"
      End
      Begin VB.Menu Exit 
         Caption         =   "退出(&E)"
      End
   End
   Begin VB.Menu BarMan 
      Caption         =   "交易登记(&B)"
      Begin VB.Menu SaleLog 
         Caption         =   "销售登记(&L)"
      End
      Begin VB.Menu SockLog 
         Caption         =   "进货登记(&S)"
      End
      Begin VB.Menu SupLog 
         Caption         =   "厂商登记(&P)"
      End
   End
   Begin VB.Menu Query 
      Caption         =   "查询信息(&Q)"
      Begin VB.Menu QuerySale 
         Caption         =   "销售查询(&X)"
      End
      Begin VB.Menu QueryStock 
         Caption         =   "进货查询(&J)"
      End
      Begin VB.Menu QuerySup 
         Caption         =   "厂商查询(&G)"
      End
      Begin VB.Menu QueryStorage 
         Caption         =   "库存查询(&K)"
      End
   End
   Begin VB.Menu Help 
      Caption         =   "帮助(&H)"
      Begin VB.Menu How 
         Caption         =   "如何使用本系统?(&U)"
      End
      Begin VB.Menu Abount 
         Caption         =   "关于(&A)"
      End
   End
End
Attribute VB_Name = "frmMDI"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim str As String

Dim intindex As Integer

Private Sub Abount_Click()

    frmAbout.Show

End Sub

Private Sub Exit_Click()

If DisConnect() = True Then

    Unload Me
    
    End
    
End If

End Sub

Private Sub How_Click()

   Shell "C:\Program Files\Internet Explorer\IEXPLORE.EXE " & App.Path & "\mainmdi.htm", 1
   
End Sub

Private Sub MDIForm_Load()

    str = "欢 迎 使 用 腾 龙 信 息 系 统 !"
    
End Sub

Private Sub PopedomSet_Click()

    FrmPSet.Show

End Sub

Private Sub QuerySale_Click()

    frmQSale.Show

End Sub

Private Sub QueryStock_Click()

    frmQStock.Show

End Sub

Private Sub QueryStorage_Click()

    frmQStorage.Show

End Sub

Private Sub QuerySup_Click()

    frmQSupplier.Show

End Sub

Private Sub SaleLog_Click()

    frmSlog.Show

End Sub

Private Sub SockLog_Click()

    frmSSlog.Show

End Sub


Private Sub SupLog_Click()

    frmSPlog.Show

End Sub

Private Sub Timer1_Timer()

    StatusBar1.Panels(3).Text = Now()

End Sub

Private Sub Timer2_Timer()

    Dim length As Integer
    
    Dim temp As String

    intindex = intindex + 1

    length = Len(str)

    If intindex < 22 Then

        temp = Left(str, 1)

        StatusBar1.Panels(1).Text = StatusBar1.Panels(1).Text & Left(str, 1)

        str = Right(str, (length - 1))
        
    Else

        intindex = 0

        StatusBar1.Panels(1).Text = ""
        
        str = "欢 迎 使 用 腾 龙 信 息 系 统 !"
        
    End If


End Sub

Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)

Select Case Button.Key

    Case Is = "SaleLog"

        Call SaleLog_Click
        
    Case Is = "StockLog"

        Call SockLog_Click
        
    Case Is = "querysale"

        Call QuerySale_Click
        
    Case Is = "querystock"

        Call QueryStock_Click
        
    Case Is = "queryStorage"

        Call QueryStorage_Click
        
    Case Is = "PopedomSet"

        Call PopedomSet_Click
        
    Case Is = "exit"

        Call Exit_Click
        
    End Select

End Sub

⌨️ 快捷键说明

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