VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "Mscomctl.ocx"
Begin VB.Form frmDIPSettings 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "Tester DIP Switch Settings"
   ClientHeight    =   2970
   ClientLeft      =   4215
   ClientTop       =   3450
   ClientWidth     =   5040
   BeginProperty Font 
      Name            =   "Tahoma"
      Size            =   8.25
      Charset         =   0
      Weight          =   400
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   Icon            =   "frmDIPSettings.frx":0000
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2970
   ScaleWidth      =   5040
   Begin VB.CommandButton cmdOK 
      Caption         =   "&OK"
      Default         =   -1  'True
      Height          =   330
      Left            =   3795
      TabIndex        =   8
      Top             =   2580
      Width           =   1155
   End
   Begin MSComctlLib.ImageList imgDIPs 
      Left            =   30
      Top             =   -90
      _ExtentX        =   1005
      _ExtentY        =   1005
      BackColor       =   -2147483643
      ImageWidth      =   25
      ImageHeight     =   20
      MaskColor       =   12632256
      _Version        =   393216
      BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628} 
         NumListImages   =   2
         BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmDIPSettings.frx":014A
            Key             =   ""
         EndProperty
         BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628} 
            Picture         =   "frmDIPSettings.frx":03DB
            Key             =   ""
         EndProperty
      EndProperty
   End
   Begin VB.Label Label11 
      BackStyle       =   0  'Transparent
      Caption         =   "External power required for 26 Pin IC's"
      ForeColor       =   &H00FF0000&
      Height          =   270
      Left            =   1920
      TabIndex        =   11
      Top             =   2250
      Width           =   3060
   End
   Begin VB.Label Label10 
      BackStyle       =   0  'Transparent
      Caption         =   "For 26 Pin and alternate packages, all DIPS on Bank #2 should be OFF."
      ForeColor       =   &H00FF0000&
      Height          =   390
      Left            =   1935
      TabIndex        =   10
      Top             =   1860
      Width           =   3075
   End
   Begin VB.Label Label1 
      BackStyle       =   0  'Transparent
      Caption         =   "Note:"
      ForeColor       =   &H00FF0000&
      Height          =   195
      Left            =   1935
      TabIndex        =   9
      Top             =   1665
      Width           =   465
   End
   Begin VB.Label Label9 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "Bank #2"
      ForeColor       =   &H0000FFFF&
      Height          =   195
      Left            =   3105
      TabIndex        =   7
      Top             =   1005
      Width           =   600
   End
   Begin VB.Label Label8 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "Bank #1"
      ForeColor       =   &H0000FFFF&
      Height          =   195
      Left            =   630
      TabIndex        =   6
      Top             =   1005
      Width           =   600
   End
   Begin VB.Label Label7 
      BackStyle       =   0  'Transparent
      Caption         =   "Only 1 dip on this bank should be selected"
      ForeColor       =   &H000000C0&
      Height          =   225
      Left            =   1920
      TabIndex        =   5
      Top             =   1290
      Width           =   3060
   End
   Begin VB.Label Label6 
      BackStyle       =   0  'Transparent
      Caption         =   "Only dips 1 and 2 OR 3 and 4 on bank #1 should be selected at any one time."
      ForeColor       =   &H000000C0&
      Height          =   480
      Left            =   90
      TabIndex        =   4
      Top             =   2520
      Width           =   3060
   End
   Begin VB.Label Label5 
      BackStyle       =   0  'Transparent
      Caption         =   "IC Package Size"
      Height          =   195
      Left            =   2805
      TabIndex        =   3
      Top             =   15
      Width           =   1275
   End
   Begin VB.Label Label4 
      BackStyle       =   0  'Transparent
      Caption         =   "  24    22     20    18    16     14    12    10"
      Height          =   240
      Left            =   1950
      TabIndex        =   2
      Top             =   225
      Width           =   2985
   End
   Begin VB.Label Label3 
      BackStyle       =   0  'Transparent
      Caption         =   "1 && 2 Alternate Config. 14 Pin Packages ONLY !"
      Height          =   1155
      Left            =   90
      TabIndex        =   1
      Top             =   1320
      Width           =   975
   End
   Begin VB.Label Label2 
      BackStyle       =   0  'Transparent
      Caption         =   "3 && 4  Standard Config"
      Height          =   705
      Left            =   1140
      TabIndex        =   0
      Top             =   1320
      Width           =   735
   End
   Begin VB.Image Image14 
      Height          =   375
      Left            =   120
      Picture         =   "frmDIPSettings.frx":067C
      Top             =   840
      Width           =   1500
   End
   Begin VB.Image imgDipBank1 
      Height          =   300
      Index           =   3
      Left            =   1245
      Picture         =   "frmDIPSettings.frx":0B3F
      Top             =   540
      Width           =   375
   End
   Begin VB.Image imgDipBank1 
      Height          =   300
      Index           =   2
      Left            =   870
      Picture         =   "frmDIPSettings.frx":0DC0
      Top             =   540
      Width           =   375
   End
   Begin VB.Image imgDipBank1 
      Height          =   300
      Index           =   1
      Left            =   495
      Picture         =   "frmDIPSettings.frx":1041
      Top             =   540
      Width           =   375
   End
   Begin VB.Image imgDipBank1 
      Height          =   300
      Index           =   0
      Left            =   120
      Picture         =   "frmDIPSettings.frx":12C2
      Top             =   540
      Width           =   375
   End
   Begin VB.Image imgDipBank2 
      Height          =   300
      Index           =   7
      Left            =   4560
      Picture         =   "frmDIPSettings.frx":1543
      Top             =   540
      Width           =   375
   End
   Begin VB.Image imgDipBank2 
      Height          =   300
      Index           =   6
      Left            =   4185
      Picture         =   "frmDIPSettings.frx":17C4
      Top             =   540
      Width           =   375
   End
   Begin VB.Image imgDipBank2 
      Height          =   300
      Index           =   5
      Left            =   3810
      Picture         =   "frmDIPSettings.frx":1A45
      Top             =   540
      Width           =   375
   End
   Begin VB.Image imgDipBank2 
      Height          =   300
      Index           =   4
      Left            =   3435
      Picture         =   "frmDIPSettings.frx":1CC6
      Top             =   540
      Width           =   375
   End
   Begin VB.Image imgDipBank2 
      Height          =   300
      Index           =   3
      Left            =   3060
      Picture         =   "frmDIPSettings.frx":1F47
      Top             =   540
      Width           =   375
   End
   Begin VB.Image imgDipBank2 
      Height          =   300
      Index           =   2
      Left            =   2685
      Picture         =   "frmDIPSettings.frx":21C8
      Top             =   540
      Width           =   375
   End
   Begin VB.Image imgDipBank2 
      Height          =   300
      Index           =   1
      Left            =   2310
      Picture         =   "frmDIPSettings.frx":2459
      Top             =   540
      Width           =   375
   End
   Begin VB.Image imgDipBank2 
      Height          =   300
      Index           =   0
      Left            =   1935
      Picture         =   "frmDIPSettings.frx":26EA
      Top             =   540
      Width           =   375
   End
   Begin VB.Image Image1 
      Height          =   375
      Left            =   1935
      Picture         =   "frmDIPSettings.frx":296B
      Top             =   840
      Width           =   3000
   End
End
Attribute VB_Name = "frmDIPSettings"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub cmdOK_Click()

    Unload Me
    
End Sub

Private Sub Form_Load()
    Dim F                       As Integer
        
    
    With gtypModel
        If .DIPBank1 = 0 Then
            ' Inverted rail packages
            imgDipBank1(0).Picture = imgDIPs.ListImages(2).Picture
            imgDipBank1(1).Picture = imgDIPs.ListImages(2).Picture
            imgDipBank1(2).Picture = imgDIPs.ListImages(1).Picture
            imgDipBank1(3).Picture = imgDIPs.ListImages(1).Picture
        Else
            ' Standard rail packages
            imgDipBank1(0).Picture = imgDIPs.ListImages(1).Picture
            imgDipBank1(1).Picture = imgDIPs.ListImages(1).Picture
            imgDipBank1(2).Picture = imgDIPs.ListImages(2).Picture
            imgDipBank1(3).Picture = imgDIPs.ListImages(2).Picture
        End If
                    
        For F = 0 To 7
            imgDipBank2(F).Picture = imgDIPs.ListImages(1).Picture ' Off
        Next F
        If .DIPBank2 Then
            imgDipBank2(.DIPBank2 - 1).Picture = imgDIPs.ListImages(2).Picture ' on
        End If
        
    End With
    
    Call SetWindowPos(Me.hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOSIZE Or SWP_NOMOVE)
End Sub


