home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{6B7E6392-850A-101B-AFC0-4210102A8DA7}#1.3#0"; "COMCTL32.OCX"
- Begin VB.Form frmStatus
- BorderStyle = 3 'Fixed Dialog
- Caption = "Recovery Wizard"
- ClientHeight = 4515
- ClientLeft = 45
- ClientTop = 330
- ClientWidth = 7605
- Icon = "frmStatus.frx":0000
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 4515
- ScaleWidth = 7605
- ShowInTaskbar = 0 'False
- StartUpPosition = 1 'CenterOwner
- Begin ComctlLib.ProgressBar stbProgFile
- Height = 255
- Left = 120
- TabIndex = 5
- Top = 2880
- Width = 7335
- _ExtentX = 12938
- _ExtentY = 450
- _Version = 327682
- Appearance = 1
- End
- Begin VB.ListBox lstSkipped
- Height = 1815
- Left = 120
- TabIndex = 2
- Top = 360
- Width = 7335
- End
- Begin VB.CommandButton cmdAbort
- Caption = "Abort"
- Height = 375
- Left = 6240
- TabIndex = 1
- Top = 3960
- Width = 1215
- End
- Begin ComctlLib.ProgressBar stbProg
- Height = 255
- Left = 120
- TabIndex = 0
- Top = 3480
- Width = 7335
- _ExtentX = 12938
- _ExtentY = 450
- _Version = 327682
- Appearance = 1
- End
- Begin VB.Label lblPercent
- Height = 255
- Left = 1320
- TabIndex = 8
- Top = 3240
- Width = 615
- End
- Begin VB.Label lblFileName
- Height = 255
- Left = 120
- TabIndex = 7
- Top = 2640
- Width = 7335
- End
- Begin VB.Label Label3
- Caption = "File being restored: "
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 255
- Left = 120
- TabIndex = 6
- Top = 2280
- Width = 2175
- End
- Begin VB.Label Label2
- Caption = "Total Progress:"
- Height = 255
- Left = 120
- TabIndex = 4
- Top = 3240
- Width = 1215
- End
- Begin VB.Label Label1
- Caption = "The following have been skipped:"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 255
- Left = 120
- TabIndex = 3
- Top = 120
- Width = 3615
- End
- Attribute VB_Name = "frmStatus"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Public Event StartRestore()
- Public Event Cancel()
- Private bRaised As Boolean
- Public Property Get TotalPercent() As Integer
- TotalPercent = stbProg.Value
-
- End Property
- Public Property Let TotalPercent(Value As Integer)
- stbProg.Value = Value
- End Property
- Public Property Get ItemPercent() As Integer
- ItemPercent = stbProgFile.Value
-
- End Property
- Public Property Let ItemPercent(Value As Integer)
- stbProgFile.Value = Value
- End Property
- Private Sub cmdAbort_Click()
- If bRaised Then
- RaiseEvent Cancel
- cmdAbort.Caption = "Close"
- bRaised = False
- Else
- Me.Hide
- End If
- End Sub
- Public Sub ShowForm()
- lstSkipped.Clear
- stbProg.Value = 0
- stbProgFile.Value = 0
- lblFileName.Caption = ""
- lblPercent.Caption = ""
- cmdAbort.Caption = "Abort"
- Me.Show vbModal
- End Sub
- Private Sub Form_Activate()
- If Not bRaised Then
- bRaised = True
- RaiseEvent StartRestore
- cmdAbort.Caption = "Close"
- bRaised = False
- End If
- End Sub
- Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
- If UnloadMode <> vbFormCode Then
- Cancel = True
- Call cmdAbort_Click
- End If
- End Sub
-