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

📄 frmunend.frm

📁 金算盘软件代码
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "MSFLXGRD.OCX"
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Object = "{F6125AB1-8AB1-11CE-A77F-08002B2F4E98}#2.0#0"; "MSRDC20.OCX"
Begin VB.Form frmUnEnd 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "取消结帐"
   ClientHeight    =   4845
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   7395
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   4845
   ScaleWidth      =   7395
   ShowInTaskbar   =   0   'False
   StartUpPosition =   2  '屏幕中心
   Begin MSRDC.MSRDC datPeriod 
      Height          =   330
      Left            =   240
      Top             =   4500
      Visible         =   0   'False
      Width           =   1455
      _ExtentX        =   2566
      _ExtentY        =   582
      _Version        =   393216
      Options         =   0
      CursorDriver    =   0
      BOFAction       =   0
      EOFAction       =   0
      RecordsetType   =   1
      LockType        =   3
      QueryType       =   0
      Prompt          =   3
      Appearance      =   1
      QueryTimeout    =   30
      RowsetSize      =   100
      LoginTimeout    =   15
      KeysetSize      =   0
      MaxRows         =   0
      ErrorThreshold  =   -1
      BatchSize       =   15
      BackColor       =   -2147483643
      ForeColor       =   -2147483640
      Enabled         =   -1  'True
      ReadOnly        =   0   'False
      Appearance      =   -1  'True
      DataSourceName  =   ""
      RecordSource    =   ""
      UserName        =   ""
      Password        =   ""
      Connect         =   ""
      LogMessages     =   ""
      Caption         =   "MSRDC1"
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
   End
   Begin VB.CommandButton cmdStep 
      Height          =   345
      Index           =   3
      Left            =   6030
      Style           =   1  'Graphical
      TabIndex        =   3
      Tag             =   "1016"
      Top             =   4425
      UseMaskColor    =   -1  'True
      Width           =   1215
   End
   Begin VB.CommandButton cmdStep 
      Height          =   345
      Index           =   2
      Left            =   4710
      Style           =   1  'Graphical
      TabIndex        =   2
      Tag             =   "1006"
      Top             =   4425
      UseMaskColor    =   -1  'True
      Width           =   1215
   End
   Begin VB.CommandButton cmdStep 
      Enabled         =   0   'False
      Height          =   345
      Index           =   1
      Left            =   3390
      Style           =   1  'Graphical
      TabIndex        =   1
      Tag             =   "1005"
      Top             =   4425
      UseMaskColor    =   -1  'True
      Width           =   1215
   End
   Begin VB.CommandButton cmdStep 
      Height          =   345
      Index           =   0
      Left            =   2070
      Style           =   1  'Graphical
      TabIndex        =   0
      Tag             =   "1002"
      Top             =   4425
      UseMaskColor    =   -1  'True
      Width           =   1215
   End
   Begin TabDlg.SSTab stabEnd 
      Height          =   4140
      Left            =   90
      TabIndex        =   4
      Top             =   90
      Width           =   7200
      _ExtentX        =   12700
      _ExtentY        =   7303
      _Version        =   393216
      Style           =   1
      Tabs            =   2
      TabsPerRow      =   2
      TabHeight       =   520
      TabCaption(0)   =   "结帐期间(&P)"
      TabPicture(0)   =   "frmUnEnd.frx":0000
      Tab(0).ControlEnabled=   -1  'True
      Tab(0).Control(0)=   "fraend(0)"
      Tab(0).Control(0).Enabled=   0   'False
      Tab(0).ControlCount=   1
      TabCaption(1)   =   "取消结帐(&R)"
      TabPicture(1)   =   "frmUnEnd.frx":001C
      Tab(1).ControlEnabled=   0   'False
      Tab(1).Control(0)=   "fraend(1)"
      Tab(1).ControlCount=   1
      Begin VB.Frame fraend 
         Height          =   3705
         Index           =   0
         Left            =   105
         TabIndex        =   6
         Top             =   330
         Width           =   6975
         Begin MSFlexGridLib.MSFlexGrid msgPeriod 
            Bindings        =   "frmUnEnd.frx":0038
            Height          =   3450
            Left            =   1575
            TabIndex        =   7
            Top             =   165
            Width           =   3405
            _ExtentX        =   6006
            _ExtentY        =   6085
            _Version        =   393216
            Rows            =   13
            Cols            =   4
            FixedCols       =   0
            RowHeightMin    =   255
            AllowBigSelection=   0   'False
            FocusRect       =   0
            GridLines       =   0
            FormatString    =   "期间    |结帐|      日期|操作员  "
         End
         Begin VB.Label lblPeriod 
            AutoSize        =   -1  'True
            Caption         =   "(无)"
            Height          =   180
            Left            =   5325
            TabIndex        =   13
            Top             =   3360
            Width           =   360
         End
         Begin VB.Label lblNote 
            AutoSize        =   -1  'True
            Caption         =   "2."
            Height          =   180
            Index           =   5
            Left            =   5055
            TabIndex        =   12
            Top             =   1290
            Width           =   180
         End
         Begin VB.Label lblNote 
            AutoSize        =   -1  'True
            Caption         =   "1."
            Height          =   180
            Index           =   4
            Left            =   5025
            TabIndex        =   11
            Top             =   420
            Width           =   180
         End
         Begin VB.Label lblNote 
            AutoSize        =   -1  'True
            Caption         =   "本次待取消结帐期间:"
            Height          =   180
            Index           =   2
            Left            =   5175
            TabIndex        =   10
            Top             =   3150
            Width           =   1575
         End
         Begin VB.Label lblNote 
            Caption         =   "你应当使用取消结帐功能。"
            Height          =   555
            Index           =   1
            Left            =   5205
            TabIndex        =   9
            Top             =   1290
            Width           =   1740
         End
         Begin VB.Label lblNote 
            Caption         =   "你只能对最后一个已结帐期间进行取消结帐操作。"
            Height          =   555
            Index           =   0
            Left            =   5220
            TabIndex        =   8
            Top             =   435
            Width           =   1725
         End
         Begin VB.Image imgEnd 
            BorderStyle     =   1  'Fixed Single
            Height          =   3435
            Index           =   0
            Left            =   90
            Stretch         =   -1  'True
            Tag             =   "140"
            Top             =   180
            Width           =   1440
         End
      End
      Begin VB.Frame fraend 
         Height          =   3705
         Index           =   1
         Left            =   -74895
         TabIndex        =   5
         Top             =   330
         Width           =   6975
         Begin VB.Frame fraend 
            Height          =   975
            Index           =   2
            Left            =   2115
            TabIndex        =   14
            Top             =   1290
            Width           =   4410
            Begin VB.Label lblNote 
               AutoSize        =   -1  'True
               Caption         =   "如果您确实要取消结帐,请单击“完成”按扭。"
               Height          =   180
               Index           =   6
               Left            =   375
               TabIndex        =   15
               Top             =   510
               Width           =   3780
            End
         End
         Begin VB.Image imgEnd 
            BorderStyle     =   1  'Fixed Single
            Height          =   3435
            Index           =   1
            Left            =   90
            Stretch         =   -1  'True
            Tag             =   "140"
            Top             =   180
            Width           =   1560
         End
      End
   End
   Begin VB.Line linEndBalance 
      BorderColor     =   &H80000005&
      X1              =   90
      X2              =   7275
      Y1              =   4305
      Y2              =   4305
   End
End
Attribute VB_Name = "frmUnEnd"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' 取消结帐
' 1998.7.7
' 作者:唐维勇
'
' 过程:
'     ValidStep                                                    向导每步合法检查
'     Execute                                                      向导完成后需执行的操作
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Option Explicit

Private Const HelpID = 60019                                      '18005

Private mintStepNum As Integer                                    '向导总步骤
Private mintStep As Integer                                       '向导当前步骤
Private mblnEnd As Boolean                                        '完成按扭是否有效
Private mblnValid() As Boolean                                    '向导每步是否合法

Private WithEvents mclsPeriodGrid As Grid                         'Grid对象
Attribute mclsPeriodGrid.VB_VarHelpID = -1
Private WithEvents mclsMainControl As MainControl                 '主控对象
Attribute mclsMainControl.VB_VarHelpID = -1

Private mintYear As Integer                                       '当前会计年度
Private mintPeriod As Integer                                     '当前会计期间
Private mintStartYear As Integer                                  '帐套启用会计年度
Private mintStartPeriod As Integer                                '帐套启用会计期间

Private Sub Form_Activate()
    SetHelpID HelpContextID
    gclsSys.CurrFormName = hwnd
    mclsMainControl_ChildActive

    '进入向导第一步
    If Not mblnValid(0) Then
        stabEnd.Tab = 0
        stabEnd_Click -1
    End If
End Sub

Private Sub Form_Load()
    Dim intCount As Integer
    
    Me.HelpContextID = HelpID
    '关闭所有子窗口
    For intCount = gclsSys.MainControls.Count To 1 Step -1
        If gclsSys.MainControls(intCount).Form.Name <> "frmNavigate" Then
            Unload gclsSys.MainControls(intCount).Form
        End If
    Next
    

⌨️ 快捷键说明

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