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

📄 frmtop.frm

📁 This a complete inventory management system that performs the functions of Purchases, Sales and paym
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Object = "{00025600-0000-0000-C000-000000000046}#5.2#0"; "Crystl32.OCX"
Begin VB.MDIForm frmTop 
   BackColor       =   &H00FFC0C0&
   Caption         =   "   iManager..."
   ClientHeight    =   8310
   ClientLeft      =   60
   ClientTop       =   30
   ClientWidth     =   11880
   Icon            =   "frmTop.frx":0000
   LinkTopic       =   "MDIForm1"
   WindowState     =   2  'Maximized
   Begin MSComctlLib.ImageList ImageList1 
      Left            =   11040
      Top             =   1800
      _ExtentX        =   1005
      _ExtentY        =   1005
      BackColor       =   -2147483643
      ImageWidth      =   16
      ImageHeight     =   16
      MaskColor       =   12632256
      _Version        =   393216
      BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
         NumListImages   =   6
         BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmTop.frx":0442
            Key             =   ""
         EndProperty
         BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmTop.frx":0894
            Key             =   ""
         EndProperty
         BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmTop.frx":0CE6
            Key             =   ""
         EndProperty
         BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmTop.frx":10E7
            Key             =   ""
         EndProperty
         BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmTop.frx":126A
            Key             =   ""
         EndProperty
         BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmTop.frx":1500
            Key             =   ""
         EndProperty
      EndProperty
   End
   Begin MSComctlLib.Toolbar Toolbar1 
      Align           =   1  'Align Top
      Height          =   570
      Left            =   0
      TabIndex        =   1
      Top             =   0
      Width           =   11880
      _ExtentX        =   20955
      _ExtentY        =   1005
      ButtonWidth     =   1376
      ButtonHeight    =   953
      Appearance      =   1
      Style           =   1
      ImageList       =   "ImageList1"
      _Version        =   393216
      BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628} 
         NumButtons      =   10
         BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "Company"
            ImageIndex      =   1
         EndProperty
         BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "Product"
            ImageIndex      =   1
         EndProperty
         BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "Vendor"
            Key             =   "tbrVendor"
            ImageIndex      =   1
         EndProperty
         BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "Party"
            ImageIndex      =   1
         EndProperty
         BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
         BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Caption         =   "Exit"
            ImageIndex      =   6
         EndProperty
         BeginProperty Button10 {66833FEA-8583-11D1-B16A-00C0F0283628} 
            Style           =   3
         EndProperty
      EndProperty
   End
   Begin MSComctlLib.StatusBar StatusBar1 
      Align           =   2  'Align Bottom
      Height          =   375
      Left            =   0
      TabIndex        =   0
      Top             =   7935
      Width           =   11880
      _ExtentX        =   20955
      _ExtentY        =   661
      _Version        =   393216
      BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628} 
         NumPanels       =   4
         BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Alignment       =   1
            AutoSize        =   1
            Object.Width           =   12754
            MinWidth        =   2541
            Picture         =   "frmTop.frx":18A3
            Text            =   "..................iManager........................"
            TextSave        =   "..................iManager........................"
         EndProperty
         BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Style           =   6
            TextSave        =   "12/5/2006"
         EndProperty
         BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Style           =   5
            Alignment       =   1
            TextSave        =   "6:39 PM"
         EndProperty
         BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Style           =   1
            Alignment       =   1
            Enabled         =   0   'False
            TextSave        =   "CAPS"
         EndProperty
      EndProperty
   End
   Begin Crystal.CrystalReport CR 
      Left            =   12840
      Top             =   480
      _ExtentX        =   741
      _ExtentY        =   741
      _Version        =   348160
      PrintFileLinesPerPage=   60
   End
   Begin Crystal.CrystalReport CR1 
      Left            =   11760
      Top             =   480
      _ExtentX        =   741
      _ExtentY        =   741
      _Version        =   348160
      PrintFileLinesPerPage=   60
   End
   Begin VB.Menu mnuMasters 
      Caption         =   "&Masters"
      Begin VB.Menu mnuCompany 
         Caption         =   "Company Master"
      End
      Begin VB.Menu sep 
         Caption         =   "-"
      End
      Begin VB.Menu mnuBookMaster 
         Caption         =   "&Product Master"
      End
      Begin VB.Menu sep5 
         Caption         =   "-"
      End
      Begin VB.Menu mnuVendor 
         Caption         =   "&Vendor Marster"
      End
      Begin VB.Menu sepm1 
         Caption         =   "-"
      End
      Begin VB.Menu mnuParty 
         Caption         =   "Client Master"
      End
   End
   Begin VB.Menu mnutrans 
      Caption         =   "&Transaction"
      Begin VB.Menu mnugoods 
         Caption         =   "&Goods In"
      End
      Begin VB.Menu sep2 
         Caption         =   "-"
         Visible         =   0   'False
      End
      Begin VB.Menu mnuPerforma 
         Caption         =   "&Quotation"
         Visible         =   0   'False
      End
      Begin VB.Menu sep3 
         Caption         =   "-"
      End
      Begin VB.Menu mnuChallan 
         Caption         =   "Issue &Challan"
      End
      Begin VB.Menu sep4 
         Caption         =   "-"
      End
      Begin VB.Menu mnuBill 
         Caption         =   "&Retail/Tax Invoice"
      End
      Begin VB.Menu mnuTaxinv1 
         Caption         =   "-"
         Visible         =   0   'False
      End
      Begin VB.Menu mnuTax 
         Caption         =   "&Tax Invoice"
         Visible         =   0   'False
      End
   End
   Begin VB.Menu mnuReport 
      Caption         =   "&Reports"
      Begin VB.Menu mnurptHeade 
         Caption         =   "&Report Header"
         Visible         =   0   'False
      End
      Begin VB.Menu sep7 
         Caption         =   "-"
         Visible         =   0   'False
      End
      Begin VB.Menu mnuStock 
         Caption         =   "&Stock Status"
      End
      Begin VB.Menu SEP8 
         Caption         =   "-"
         Visible         =   0   'False
      End
      Begin VB.Menu mnuStd 
         Caption         =   "Stock On &Date"
         Visible         =   0   'False
      End
      Begin VB.Menu sep13 
         Caption         =   "-"
      End
      Begin VB.Menu rptQuot 
         Caption         =   "Print &Quotation"
         Visible         =   0   'False
      End
      Begin VB.Menu sep9 
         Caption         =   "-"
         Visible         =   0   'False
      End
      Begin VB.Menu mnurptChallan 
         Caption         =   "Print &Challan"
      End
      Begin VB.Menu sep10 
         Caption         =   "-"
      End
      Begin VB.Menu mnuprtBill 
         Caption         =   "&Retail /Tax Invoice"
      End
      Begin VB.Menu sepMnuBill 
         Caption         =   "-"
         Visible         =   0   'False
      End
      Begin VB.Menu mnuTaxinv 
         Caption         =   "&Tax Invoice"
         Visible         =   0   'False
      End
   End
   Begin VB.Menu mnuwindow 
      Caption         =   "&Window"
      Begin VB.Menu mnuClose 
         Caption         =   "&Close"
      End
      Begin VB.Menu sep1 
         Caption         =   "-"
      End
      Begin VB.Menu mnuExit 
         Caption         =   "E&XIT"
         Index           =   7
      End
   End
End
Attribute VB_Name = "frmTop"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim Timenew As SYSTEMTIME
Private Sub chlnlog_Click()
With CR
            .Reset
            .ReportFileName = App.Path & "/Reports/challanlog.rpt"
            .DataFiles(0) = App.Path & "\Adequate.mdb"
            .DiscardSavedData = True
            .RetrieveDataFiles
            .ReportSource = 0
            .SelectionFormula = ""
            .WindowShowPrintSetupBtn = True
            .WindowShowRefreshBtn = True
            .WindowControlBox = True
            .WindowMaxButton = True
            .WindowMinButton = True
            .WindowShowCancelBtn = True
            .WindowShowCloseBtn = True
            .WindowShowNavigationCtls = True
            .WindowShowSearchBtn = True
            .WindowState = crptMaximized
            .Action = 1
End With
End Sub

Private Sub DTPSysDate_Change()

    Timenew.wYear = Year(DTPSysDate.Value)

    Timenew.wMonth = Month(DTPSysDate.Value)

    Timenew.wDay = Day(DTPSysDate.Value)

    Timenew.wHour = Hour(Now)

    Timenew.wMinute = Minute(Now)

    Timenew.wSecond = Second(Now)

    Timenew.wMilliseconds = 0
    SetSystemTime Timenew
End Sub

Private Sub EditDeliveryChallan_Click()
    frmSupl.Show
End Sub

Private Sub MDIForm_Load()
Dim gStr
gStr = App.Path & "\images\inventory.gif"

gCRNote = False
    'Picture1.Picture = App.Path & "\images\inventory.gif"
End Sub

Private Sub MDIForm_QueryUnload(Cancel As Integer, UnloadMode As Integer)
    'CNimanager.Close
    Set CNimanager = Nothing
    End
End Sub
Private Sub mnuAcMaster_Click()
frmACMaster.Show
End Sub

Private Sub mnuAdd_Click()
PopCondition.txtCondition = "ADD"
PopCondition.Show vbModal
End Sub

Private Sub mnuAdditions_Click()
frmAdditions2Agent.Show vbModal
End Sub

Private Sub mnuAgntFromAgnt_Click()
popAgentStockTransaction.Show vbModal
End Sub

Private Sub mnuAgntStockStatus_Click()
popAgentStockRPT.Show vbModal
End Sub

Private Sub mnuAgntToAgnt_Click()
popAgentStockTo.Show vbModal
End Sub

Private Sub mnuAgtAcc_Click()
frmAgtAccountInitialize.Show
End Sub




Private Sub mnuAllTransactions_Click()
PopCondition.txtCondition = "ALL"
PopCondition.Show vbModal
PopCondition.txtPID = "ALL"
End Sub

Private Sub mnuBackup_Click()
frmBackup.Show
End Sub

Private Sub mnuBill_Click()
    frmBill.Show
End Sub

Private Sub mnuBookMaster_Click()
frmBookMaster.Show
End Sub

Private Sub mnuBranchBillStatus_Click()
frmBranchBillSummaryReport.Show vbModal
End Sub

Private Sub mnuBranchMaster_Click()
    frmBranchMaster.Show
End Sub

Private Sub mnuBranchSummary_Click()
With CR
            .ReportFileName = App.Path & "\Reports\BranchandBM.rpt"
            .Connect = App.Path & "\DBase\iManager.mdb"
            .DiscardSavedData = True
            .RetrieveDataFiles
            .ReportSource = 0
            .WindowShowPrintSetupBtn = True
            .WindowShowRefreshBtn = True
            .WindowControlBox = True
            .WindowMaxButton = True
            .WindowMinButton = True
            .WindowShowCancelBtn = True
            .WindowShowCloseBtn = True
            .WindowShowNavigationCtls = True
            .WindowShowSearchBtn = True
            .WindowState = crptMaximized
            .Action = 1
End With
End Sub

Private Sub mnuBRBRSettle_Click()
frmSettleBRBR.Show
End Sub

Private Sub mnuBRSales_Click()
popBRSales.Show vbModal
End Sub

Private Sub mnuCalculateCommission_Click()
frmCalculateCommission.Show
End Sub

Private Sub mnuCategoryMaster_Click()
frmCategoryMaster.Show
End Sub

Private Sub mnuChallan_Click()
    frmChallan.Show
End Sub

Private Sub mnuClose_Click()
On Error Resume Next
    Unload frmTop.ActiveForm
End Sub

Private Sub mnuCommissions_Click()
PopCondition.txtCondition = "COM"
PopCondition.Show vbModal
End Sub

Private Sub mnuCommissionSetup_Click()
frmCommissionSetup.Show
End Sub

Private Sub mnuCommissionSetup2_Click()
frmCommissionSetup.Show
End Sub

Private Sub mnucommToPay_Click()
    rptCommToPay.Show vbModal
End Sub

Private Sub mnuCompany_Click()
    frmCompany.Show
End Sub

Private Sub mnuCreditnote_Click()
frmCreditnote.Show vbModal
End Sub

Private Sub mnuCreditNotesIssued_Click()
PopCondition.txtCondition = "CRN"
PopCondition.Show vbModal
End Sub

Private Sub mnuCSC_Click()
frmCountry.Show
End Sub

Private Sub mnuDatewise_Click()
popComOrg.Show vbModal
End Sub

Private Sub mnuDatewiseCommRec_Click()
popComRecOrg.Show vbModal
End Sub

Private Sub mnuDebitnote_Click()
frmDebitNote.Show vbModal
End Sub

Private Sub mnuDebitNotesIssued_Click()
PopCondition.txtCondition = "DBN"
PopCondition.Show vbModal
End Sub

Private Sub mnuDebitPR_Click()
frmDebitPR.Show vbModal

⌨️ 快捷键说明

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