VERSION 5.00
Begin VB.Form CPSystems 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "Cathodic Protection"
   ClientHeight    =   6525
   ClientLeft      =   -45
   ClientTop       =   675
   ClientWidth     =   8400
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   6525
   ScaleWidth      =   8400
   Begin VB.CommandButton cmdExit 
      Caption         =   "Simulate Off Shore"
      Height          =   495
      Index           =   1
      Left            =   4313
      TabIndex        =   1
      Top             =   5880
      Width           =   2055
   End
   Begin VB.CommandButton cmdExit 
      Caption         =   "Simulate On Shore"
      Height          =   495
      Index           =   0
      Left            =   2033
      TabIndex        =   0
      Top             =   5880
      Width           =   2055
   End
   Begin VB.Frame Frame1 
      BorderStyle     =   0  'None
      Height          =   5415
      Left            =   240
      TabIndex        =   3
      Top             =   240
      Width           =   7935
      Begin VB.Label Label1 
         Alignment       =   2  'Center
         Appearance      =   0  'Flat
         BackColor       =   &H80000005&
         BackStyle       =   0  'Transparent
         BeginProperty Font 
            Name            =   "Times New Roman"
            Size            =   24
            Charset         =   0
            Weight          =   700
            Underline       =   0   'False
            Italic          =   -1  'True
            Strikethrough   =   0   'False
         EndProperty
         Height          =   3615
         Left            =   1080
         TabIndex        =   4
         Top             =   1200
         Width           =   5775
      End
   End
   Begin VB.CommandButton cmdExit 
      Caption         =   "Exit"
      Height          =   495
      Index           =   2
      Left            =   6960
      TabIndex        =   2
      Top             =   5880
      Width           =   1215
   End
   Begin VB.Menu mnucathodicprotection 
      Caption         =   "Cathodic Protection"
      Begin VB.Menu mnuonshorecpsystems 
         Caption         =   "Onshore CP Systems"
      End
      Begin VB.Menu mnuoffshorecpsystems 
         Caption         =   "Offshore CP Systems"
      End
   End
   Begin VB.Menu mnuHelp 
      Caption         =   "&Help"
   End
   Begin VB.Menu mnuExit 
      Caption         =   "&Exit"
   End
End
Attribute VB_Name = "CPSystems"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit


Private Sub cmdExit_Click(Index As Integer)
    Select Case Index
        Case 0
            Call mnuonshorecpsystems_Click
        Case 1
            Call mnuoffshorecpsystems_Click
        Case 2
            Call mnuExit_Click
    End Select
End Sub

Private Sub Form_Load()

Frame1.BackColor = &H80000013

' This was "Computer simulation for..."
Label1.Caption = "Computer simulation of cathodic protection systems for onshore and offshore pipelines based on ISO 15589 parts 1 and 2"
End Sub

Private Sub Form_Unload(Cancel As Integer)
Dim frm As Form

For Each frm In Forms
   Unload frm
   Set frm = Nothing
Next
End Sub

Private Sub mnuExit_Click()
Unload Me
End Sub

Private Sub mnuoffshorecpsystems_Click()
offshorecpsystems.Show
End Sub

Private Sub mnuonshorecpsystems_Click()
onshorecpsystems.Show
End Sub


