vbAccelerator - Contents of code file: Form1.frm

VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Unloading Cleanly with Manifests"
   ClientHeight    =   3090
   ClientLeft      =   4455
   ClientTop       =   4080
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   3090
   ScaleWidth      =   4680
   Begin VB.CheckBox chkUnloader 
      Caption         =   "Unload Cleanly"
      Height          =   375
      Left            =   120
      TabIndex        =   2
      Top             =   120
      Width           =   2535
   End
   Begin Project1.UserControl1 UserControl11 
      Height          =   1095
      Left            =   240
      TabIndex        =   1
      Top             =   1440
      Width           =   1815
      _ExtentX        =   3201
      _ExtentY        =   1931
   End
   Begin VB.CommandButton Command1 
      Caption         =   "New Form..."
      Height          =   675
      Left            =   3060
      TabIndex        =   0
      Top             =   60
      Width           =   1515
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub chkUnloader_Click()
   UnloadClean = (chkUnloader.Value = Checked)
End Sub

Private Sub Command1_Click()
   Dim f As New Form1
   f.Show
End Sub

Private Sub Form_Terminate()
   If (Forms.Count = 0) Then
      UnloadApp
   End If
End Sub