资源名称:ERPSYS.zip [点击查看]
上传用户:zhpu1995
上传日期:2013-09-06
资源大小:61151k
文件大小:22k
源码类别:
企业管理
开发平台:
Visual Basic
- VERSION 5.00
- Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
- Begin VB.MDIForm XT_Main
- BackColor = &H00FF8080&
- Caption = "百利/ERP5.0-财务总帐"
- ClientHeight = 6510
- ClientLeft = 1380
- ClientTop = 1440
- ClientWidth = 11835
- Icon = "系统_主界面.frx":0000
- WindowState = 2 'Maximized
- Begin VB.Timer Timer1
- Interval = 1
- Left = 150
- Top = 60
- End
- Begin MSComctlLib.StatusBar StatusBar1
- Align = 2 'Align Bottom
- Height = 375
- Left = 0
- TabIndex = 0
- Top = 6135
- Width = 11835
- _ExtentX = 20876
- _ExtentY = 661
- _Version = 393216
- BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
- NumPanels = 6
- BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
- AutoSize = 2
- Object.Width = 5292
- MinWidth = 5292
- Key = "OperStatus"
- EndProperty
- BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
- Object.Width = 5292
- MinWidth = 5292
- Key = "zt"
- EndProperty
- BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
- AutoSize = 2
- Object.Width = 2117
- MinWidth = 2117
- Key = "czy"
- EndProperty
- BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628}
- AutoSize = 2
- Object.Width = 3519
- MinWidth = 3528
- Key = "rq"
- EndProperty
- BeginProperty Panel5 {8E3867AB-8586-11D1-B16A-00C0F0283628}
- Style = 5
- Object.Width = 1411
- MinWidth = 1411
- TextSave = "15:13"
- Key = "sj"
- EndProperty
- BeginProperty Panel6 {8E3867AB-8586-11D1-B16A-00C0F0283628}
- AutoSize = 2
- Object.Width = 3519
- MinWidth = 3528
- Key = "rjbb"
- EndProperty
- EndProperty
- End
- Begin MSComctlLib.ImageList ImageList1
- Left = 11070
- Top = 510
- _ExtentX = 1005
- _ExtentY = 1005
- BackColor = -2147483643
- ImageWidth = 16
- ImageHeight = 16
- MaskColor = 12632256
- _Version = 393216
- BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
- NumListImages = 8
- BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "系统_主界面.frx":1042
- Key = "stb"
- EndProperty
- BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "系统_主界面.frx":1496
- Key = "xttb"
- EndProperty
- BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "系统_主界面.frx":18EE
- Key = "qx"
- EndProperty
- BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "系统_主界面.frx":1D4E
- Key = "kplr"
- EndProperty
- BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "系统_主界面.frx":21A2
- Key = "kpgl"
- EndProperty
- BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "系统_主界面.frx":2602
- Key = "tcxt"
- EndProperty
- BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "系统_主界面.frx":291E
- Key = "szk"
- EndProperty
- BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
- Picture = "系统_主界面.frx":2D76
- Key = "gnqx"
- EndProperty
- EndProperty
- End
- Begin VB.Menu Cwzz_File
- Caption = "文件(&F)"
- Index = 101
- Begin VB.Menu Cwzz_register
- Caption = "重新注册(&R)"
- End
- Begin VB.Menu v5
- Caption = "-"
- End
- Begin VB.Menu Cwzz_quit
- Caption = "退出系统(&Q)"
- End
- End
- Begin VB.Menu Cwzz_jcsz
- Caption = "设置(&I)"
- Begin VB.Menu Cwzz_kjkmsz
- Caption = "会计科目设置(&K)"
- End
- Begin VB.Menu Cwzz_pzlbsz
- Caption = "凭证类别设置(&P)"
- End
- Begin VB.Menu Cwzz_cyzysz
- Caption = "常用摘要设置(&D)"
- End
- Begin VB.Menu Cwzz_jsfssz
- Caption = "结算方式设置(&J)"
- End
- Begin VB.Menu Cwzz_bmsz
- Caption = "部门设置(&B)"
- End
- Begin VB.Menu Cwzz_gszysz
- Caption = "公司职员设置(&G)"
- End
- Begin VB.Menu Cwzz_wbjhlsz
- Caption = "币种及汇率设置(&H)"
- End
- Begin VB.Menu Cwzz_wldwsz
- Caption = "客户设置(&S)"
- End
- Begin VB.Menu Cwzz_wlgysfl
- Caption = "供应商分类(&S)"
- End
- Begin VB.Menu Cwzz_wlgyssz
- Caption = "供应商设置(&M)"
- End
- Begin VB.Menu Cwzz_xmmlsz
- Caption = "项目目录设置(&N)"
- End
- Begin VB.Menu Cwzz_dlzlmsz
- Caption = "多栏帐栏目设置(&L)"
- End
- Begin VB.Menu Cwzz_qcye
- Caption = "期初余额录入(&Q)"
- End
- End
- Begin VB.Menu c_pzcl
- Caption = "凭证(&P)"
- Begin VB.Menu Cwzz_jzpzcl
- Caption = "填制凭证(&T)"
- End
- Begin VB.Menu Cwzz_jzpzcx
- Caption = "查询凭证(&C)"
- End
- Begin VB.Menu Cwzz_jzpzhz
- Caption = "凭证汇总(&P)"
- End
- Begin VB.Menu v
- Caption = "-"
- End
- Begin VB.Menu c_jz
- Caption = "记帐(&J)"
- Begin VB.Menu Cwzz_jzcl
- Caption = "记帐处理(&C)"
- End
- Begin VB.Menu Cwzz_hfjz
- Caption = "恢复记帐(&U)"
- End
- End
- End
- Begin VB.Menu Cwzz_yhdz
- Caption = "银行对帐(&K)"
- Begin VB.Menu Cwzz_yhdzqc
- Caption = "银行对帐期初(&Q)"
- End
- Begin VB.Menu Cwzz_yhdzd
- Caption = "银行对帐单(&Z)"
- End
- Begin VB.Menu Cwzz_yhDzdCx
- Caption = "银行对帐单查询(&C)"
- End
- Begin VB.Menu Cwzz_yhzddz
- Caption = "银行对帐(&W)"
- End
- Begin VB.Menu Cwzz_yhye
- Caption = "银行余额调节表(&T)"
- End
- Begin VB.Menu Cwzz_yhgdqk
- Caption = "查询银行勾对情况(&G)"
- End
- Begin VB.Menu Cwzz_hxyhz
- Caption = "核销银行帐(&H)"
- End
- End
- Begin VB.Menu c_zbgl
- Caption = "帐簿(&Z)"
- Begin VB.Menu Cwzz_zflz
- Caption = "总分类帐(&F)"
- End
- Begin VB.Menu Cwzz_kmyebcx
- Caption = "发生额及余额表(&S)"
- End
- Begin VB.Menu Cwzz_mxzcx
- Caption = "明细帐(&M)"
- End
- Begin VB.Menu Cwzz_dlzcx
- Caption = "多栏帐查询(&D)"
- End
- Begin VB.Menu Cwzz_rjzcx
- Caption = "日记帐查询(&R)"
- End
- End
- Begin VB.Menu Cwzz_fzhs
- Caption = "辅助核算(&D)"
- Begin VB.Menu Cwzz_fzbm
- Caption = "部门核算(&B)"
- Begin VB.Menu Cwzz_fzbm_kmyeb
- Caption = "科目余额表(&K)"
- End
- Begin VB.Menu Cwzz_fzbm_bmyeb
- Caption = "部门总帐(&Z)"
- End
- Begin VB.Menu Cwzz_fzbm_bmslmxz
- Caption = "三栏明细帐(&S)"
- End
- Begin VB.Menu Cwzz_fzbm_bmslzz
- Caption = "三栏式总帐"
- End
- Begin VB.Menu Cwzz_dlsmxz
- Caption = "多栏式明细帐"
- End
- End
- Begin VB.Menu Cwzz_fzgrwl
- Caption = "个人往来(&G)"
- Begin VB.Menu Cwzz_fzgrwl_kmyeb
- Caption = "科目余额表(&Y)"
- End
- Begin VB.Menu Cwzz_fzgrwl_gryeb
- Caption = "个人余额表(&P)"
- End
- Begin VB.Menu Cwzz_fzgrwl_grslmxz
- Caption = "三栏明细帐(&Q)"
- End
- Begin VB.Menu Cwzz_fzgr_grslzz
- Caption = "三栏式总帐"
- End
- End
- Begin VB.Menu Cwzz_fzkhwl
- Caption = "客户往来(&W)"
- Begin VB.Menu Cwzz_fzkhwl_kmyeb
- Caption = "科目余额表(&E)"
- End
- Begin VB.Menu Cwzz_fzkhwl_khyeb
- Caption = "客户余额表(&U)"
- End
- Begin VB.Menu Cwzz_fzkhwl_khslmxz
- Caption = "三栏明细帐(&I)"
- End
- Begin VB.Menu Cwzz_fzkh_khslzz
- Caption = "三栏式总帐"
- End
- End
- Begin VB.Menu Cwzz_fzgyswl
- Caption = "供应商往来(&L)"
- Begin VB.Menu Cwzz_fzgyswl_kmyeb
- Caption = "科目余额表(&V)"
- End
- Begin VB.Menu Cwzz_fzgyswl_gysyeb
- Caption = "供应商余额表(&X)"
- End
- Begin VB.Menu Cwzz_fzgyswl_gysslmxz
- Caption = "三栏明细帐(&M)"
- End
- Begin VB.Menu Cwzz_fzgys_gysslzz
- Caption = "三栏式总帐(&Z)"
- End
- End
- End
- Begin VB.Menu Cwzz_ymjz
- Caption = "月末处理(&E)"
- Begin VB.Menu Cwzz_AutoTranAccList
- Caption = "自动转帐(&A)"
- Begin VB.Menu Cwzz_UserDefineTran
- Caption = "自定义转帐凭证(&D)"
- End
- Begin VB.Menu Cwzz_ModelTran
- Caption = "模式转帐凭证(&M)"
- End
- Begin VB.Menu Cwzz_ProfitTran
- Caption = "期间损益结转(&Q)"
- End
- Begin VB.Menu Cwzz_ExchangeTran
- Caption = "汇兑损益结转(&H)"
- End
- Begin VB.Menu Cwzz_ImportVouch
- Caption = "引入外部凭证(&Y)"
- End
- End
- Begin VB.Menu v2
- Caption = "-"
- End
- Begin VB.Menu Cwzz_ymcl_ymjz
- Caption = "月末结帐(&C)"
- End
- Begin VB.Menu Cwzz_ymcl_ymfjz
- Caption = "月末反结帐(&R)"
- End
- Begin VB.Menu Cwzz_ymcl_nmjz
- Caption = "年末结帐(&Y)"
- End
- End
- Begin VB.Menu Cwzz_xjllb
- Caption = "现金流量(&X)"
- Begin VB.Menu Cwzz_xjllbbxm
- Caption = "报表项目设置(&B)"
- End
- Begin VB.Menu Cwzz_xjllsjfp
- Caption = "报表数据调整(&T)"
- End
- Begin VB.Menu Cwzz_xjllbcx
- Caption = "现金流量表(&L)"
- End
- End
- Begin VB.Menu Cwzz_gnbm
- Caption = "工具(&T)"
- Begin VB.Menu Cwzz_gnbmjsq
- Caption = "计算器(&S)"
- End
- Begin VB.Menu Cwzz_gnbmkmrl
- Caption = "会计日历(&C)"
- End
- End
- Begin VB.Menu mnuwindows
- Caption = "窗口(&W)"
- WindowList = -1 'True
- Begin VB.Menu mnuWindowCascade
- Caption = "层叠(&C)"
- End
- Begin VB.Menu mnuWindowTileHorizontal
- Caption = "横向平铺(&H)"
- End
- Begin VB.Menu mnuWindowTileVertical
- Caption = "纵向平铺(&V)"
- End
- Begin VB.Menu mnuWindowArrangeIcons
- Caption = "排列图标(&A)"
- End
- End
- Begin VB.Menu Cwzz_bz
- Caption = "帮助(&H)"
- Begin VB.Menu Cwzz_xtbz
- Caption = "系统帮助(&S)"
- End
- Begin VB.Menu Cwzz_gy
- Caption = "关于(&A)"
- End
- End
- End
- Attribute VB_Name = "XT_Main"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- '**************************************
- '* 模 块 名 称 :财务总帐系统主窗体
- '* 功 能 描 述 :作为系统主界面
- '* 程序员姓名 : 奚俊峰
- '* 最后修改人 : 奚俊峰
- '* 最后修改时间:2002/01/02
- '**************************************
- Dim Tsxx As String '系统提示信息
- Private Sub Cwzz_bmsz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_bmsz.Name)
- End Sub
- Private Sub Cwzz_cyzysz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_cyzysz.Name)
- End Sub
- Private Sub Cwzz_dlzlmsz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_dlzlmsz.Name)
- End Sub
- Private Sub Cwzz_ExchangeTran_Click()
- AutoTran_TranList.TranClassCode = "03"
- Call Xt_Control.Zxxymk(Me.Cwzz_ExchangeTran.Name)
- End Sub
- Private Sub Cwzz_gszysz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_gszysz.Name)
- End Sub
- Private Sub Cwzz_hxyhz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_hxyhz.Name)
- End Sub
- Private Sub Cwzz_ImportVouch_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_ImportVouch.Name)
- End Sub
- Private Sub Cwzz_jsfssz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_jsfssz.Name)
- End Sub
- Private Sub Cwzz_kjkmsz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_kjkmsz.Name)
- End Sub
- Private Sub Cwzz_ModelTran_Click()
- AutoTran_TranList.TranClassCode = "05"
- Call Xt_Control.Zxxymk(Me.Cwzz_ModelTran.Name)
- End Sub
- Private Sub Cwzz_pzlbsz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_pzlbsz.Name)
- End Sub
- Private Sub Cwzz_qcye_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_qcye.Name)
- End Sub
- Private Sub Cwzz_UserDefineTran_Click()
- AutoTran_TranList.TranClassCode = "01"
- Call Xt_Control.Zxxymk(Me.Cwzz_UserDefineTran.Name)
- End Sub
- Private Sub Cwzz_ProfitTran_Click()
- AutoTran_TranList.TranClassCode = "04"
- Call Xt_Control.Zxxymk(Me.Cwzz_ProfitTran.Name)
- End Sub
- Private Sub Cwzz_dlsmxz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_dlsmxz.Name)
- End Sub
- Private Sub Cwzz_dlzcx_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_dlzcx.Name)
- End Sub
- Private Sub Cwzz_fzbm_bmslmxz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_fzbm_bmslmxz.Name)
- End Sub
- Private Sub Cwzz_fzbm_bmslzz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_fzbm_bmslzz.Name)
- End Sub
- Private Sub Cwzz_fzbm_bmyeb_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_fzbm_bmyeb.Name)
- End Sub
- Private Sub Cwzz_fzbm_kmyeb_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_fzbm_kmyeb.Name)
- End Sub
- Private Sub Cwzz_fzgr_grslzz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_fzgr_grslzz.Name)
- End Sub
- Private Sub Cwzz_fzgrwl_grslmxz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_fzgrwl_grslmxz.Name)
- End Sub
- Private Sub Cwzz_fzgrwl_gryeb_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_fzgrwl_gryeb.Name)
- End Sub
- Private Sub Cwzz_fzgrwl_kmyeb_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_fzgrwl_kmyeb.Name)
- End Sub
- Private Sub Cwzz_fzgys_gysslzz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_fzgys_gysslzz.Name)
- End Sub
- Private Sub Cwzz_fzgyswl_gysslmxz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_fzgyswl_gysslmxz.Name)
- End Sub
- Private Sub Cwzz_fzgyswl_gysyeb_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_fzgyswl_gysyeb.Name)
- End Sub
- Private Sub Cwzz_fzgyswl_kmyeb_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_fzgyswl_kmyeb.Name)
- End Sub
- Private Sub Cwzz_fzkh_khslzz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_fzkh_khslzz.Name)
- End Sub
- Private Sub Cwzz_fzkhwl_khslmxz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_fzkhwl_khslmxz.Name)
- End Sub
- Private Sub Cwzz_fzkhwl_khyeb_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_fzkhwl_khyeb.Name)
- End Sub
- Private Sub Cwzz_fzkhwl_kmyeb_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_fzkhwl_kmyeb.Name)
- End Sub
- Private Sub Cwzz_gnbmjsq_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_gnbmjsq.Name)
- End Sub
- Private Sub Cwzz_gnbmkmrl_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_gnbmkmrl.Name)
- End Sub
- Private Sub Cwzz_gy_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_gy.Name)
- End Sub
- Private Sub Cwzz_hfjz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_hfjz.Name)
- End Sub
- Private Sub Cwzz_jzcl_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_jzcl.Name)
- End Sub
- Private Sub Cwzz_jzpzcl_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_jzpzcl.Name)
- End Sub
- Private Sub Cwzz_jzpzcx_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_jzpzcx.Name)
- End Sub
- Private Sub Cwzz_jzpzhz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_jzpzhz.Name)
- End Sub
- Private Sub Cwzz_kmyebcx_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_kmyebcx.Name)
- End Sub
- Private Sub Cwzz_mxzcx_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_mxzcx.Name)
- End Sub
- Private Sub Cwzz_quit_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_quit.Name)
- End Sub
- Private Sub Cwzz_Register_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_register.Name)
- End Sub
- Private Sub Cwzz_rjzcx_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_rjzcx.Name)
- End Sub
- Private Sub Cwzz_wbjhlsz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_wbjhlsz.Name)
- End Sub
- Private Sub Cwzz_wldwsz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_wldwsz.Name)
- End Sub
- Private Sub Cwzz_wlgysfl_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_wlgysfl.Name)
- End Sub
- Private Sub Cwzz_wlgyssz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_wlgyssz.Name)
- End Sub
- Private Sub Cwzz_xjllbbxm_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_xjllbbxm.Name)
- End Sub
- Private Sub Cwzz_xjllbcx_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_xjllbcx.Name)
- End Sub
- Private Sub Cwzz_xjllsjfp_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_xjllsjfp.Name)
- End Sub
- Private Sub Cwzz_xmmlsz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_xmmlsz.Name)
- End Sub
- Private Sub Cwzz_xtbz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_xtbz.Name)
- End Sub
- Private Sub Cwzz_yhdzd_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_yhdzd.Name)
- End Sub
- Private Sub Cwzz_yhDzdCx_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_yhDzdCx.Name)
- End Sub
- Private Sub Cwzz_yhdzqc_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_yhdzqc.Name)
- End Sub
- Private Sub Cwzz_yhgdqk_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_yhgdqk.Name)
- End Sub
- Private Sub Cwzz_yhye_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_yhye.Name)
- End Sub
- Private Sub Cwzz_yhzddz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_yhzddz.Name)
- End Sub
- Private Sub Cwzz_ymcl_nmjz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_ymcl_nmjz.Name)
- End Sub
- Private Sub Cwzz_ymcl_ymfjz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_ymcl_ymfjz.Name)
- End Sub
- Private Sub Cwzz_ymcl_ymjz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_ymcl_ymjz.Name)
- End Sub
- Private Sub Cwzz_zflz_Click()
- Call Xt_Control.Zxxymk(Me.Cwzz_zflz.Name)
- End Sub
- '主窗体击活
- Private Sub MDIForm_Activate()
- Timer1.Enabled = True
- End Sub
- Private Sub MDIForm_Load()
- '调入主操作界面
- Xt_Control.Show
- End Sub
- Private Sub MDIForm_QueryUnload(Cancel As Integer, UnloadMode As Integer)
- On Error Resume Next
- Dim Jsqte As Integer
- If Not Tcxt Then
- Cancel = True
- Else
- Unload_TF = True
- For Jsqte = 0 To Forms.count - 1
- Unload Forms(Jsqte)
- Next Jsqte
- End
- End If
- End Sub
- Private Sub mnuWindowArrangeIcons_Click() '窗口排列图标
- Me.Arrange vbArrangeIcons
- End Sub
- Private Sub mnuWindowCascade_Click()
- Me.Arrange vbCascade
- End Sub
- Private Sub mnuWindowTileHorizontal_Click()
- Me.Arrange vbTileHorizontal
- End Sub
- Private Sub mnuWindowTileVertical_Click() '窗口横向平铺
- Me.Arrange vbTileVertical
- End Sub
- '************************'以下为程序固定不变部分*********************'
- Private Function Tcxt() As Boolean '退出系统提示
- Dim Answer As Integer
- Tsxx = "请确认是否退出系统?"
- Answer = Xtxxts(Tsxx, 2, 2)
- If Answer = 1 Then
- Tcxt = True
- Else
- Tcxt = False
- End If
- End Function
- Private Sub Timer1_Timer() '在窗体激活后调入程序
- Timer1.Enabled = False
- If XT_login.QdCheck.Value = 1 Then
- Call Xtcsh
- XT_login.QdCheck.Value = 0
- End If
- End Sub
- Private Sub Xtcsh() '系统主控制台及全局变量初始化
- With XT_login
- Xtczybm = Trim(Mid(.CzyCombo.Text, 1, InStr(1, .CzyCombo.Text, "-") - 1))
- Xtczy = Trim(Mid(.CzyCombo.Text, InStr(1, .CzyCombo.Text, "-") + 1, Len(.CzyCombo.Text)))
- Xtztbm = Trim(Mid(.ZtCombo.Text, 1, InStr(1, .ZtCombo.Text, "-") - 1))
- Xtdwm = Trim(Mid(.ZtCombo.Text, InStr(1, .ZtCombo.Text, "-") + 1, Len(.ZtCombo.Text)))
- '用户选择系统年度
- Xtyear = Val(.KjyearCombo.Text)
- '用户选择系统会计期间
- Set Xtrlrec = Cw_DataEnvi.DataConnect.Execute("Select * From gy_kjrlb where qsrq<='" + .CzrqText.Text + "' and zzrq>='" + .CzrqText.Text + "'")
- If Not Xtrlrec.EOF Then
- Xtmm = Xtrlrec.Fields("period")
- End If
- '会计期间划分个数
- Xtkjqjgs = 12
- '业务操作日期
- Xtrq = CDate(.CzrqText.Text)
- End With
- With XT_Main.StatusBar1
- .Panels("OperStatus") = "就绪"
- .Panels("zt").Text = Xtdwm
- .Panels("czy").Text = Xtczy
- .Panels("rq").Text = "业务日期:" + Format(Xtrq, "yyyy-mm-dd")
- .Panels("rjbb").Text = "【百利/ERP】"
- End With
- End Sub
- Private Sub mnu()
- End Sub