VERSION 5.00
Begin VB.Form MultiKeyForm 
   BorderStyle     =   1  'Fest Einfach
   Caption         =   "Multible Keys To Reader"
   ClientHeight    =   3150
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   3270
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   ScaleHeight     =   3150
   ScaleWidth      =   3270
   StartUpPosition =   2  'Bildschirmmitte
   Begin VB.CommandButton KTRCommand 
      Caption         =   "Write Keys To Reader"
      Height          =   495
      Left            =   120
      TabIndex        =   2
      Top             =   2520
      Width           =   3015
   End
   Begin VB.TextBox KeysText 
      BeginProperty Font 
         Name            =   "Courier New"
         Size            =   8.25
         Charset         =   0
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   1935
      Left            =   120
      MultiLine       =   -1  'True
      ScrollBars      =   2  'Vertikal
      TabIndex        =   0
      Top             =   360
      Width           =   3015
   End
   Begin VB.Label Label1 
      Caption         =   "Keys (one per line for all 16 sectors):"
      Height          =   255
      Left            =   120
      TabIndex        =   1
      Top             =   120
      Width           =   3015
   End
End
Attribute VB_Name = "MultiKeyForm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub KTRCommand_Click()
    Dim i As Integer
    Dim keys() As String
    keys = Split(KeysText.Text, vbNewLine)
    For i = 0 To 15
        ContactLessDemoVB.MifKeyToReaderNrText.Text = Hex(i)
        ContactLessDemoVB.MifareKeyToReaderText.Text = keys(i)
        ContactLessDemoVB.WriteMifKeyToReader_Click
    Next i
    Me.Hide
End Sub
