VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   5760
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   7050
   LinkTopic       =   "Form1"
   ScaleHeight     =   5760
   ScaleWidth      =   7050
   StartUpPosition =   3  'Windows Default
   Begin VB.TextBox txtY1 
      Height          =   495
      Left            =   1080
      TabIndex        =   6
      Text            =   "0"
      Top             =   5040
      Width           =   1215
   End
   Begin VB.TextBox txtY2 
      Height          =   495
      Left            =   2400
      TabIndex        =   5
      Text            =   "0"
      Top             =   5040
      Width           =   1215
   End
   Begin VB.CommandButton Command1 
      Caption         =   "New Line"
      Height          =   495
      Left            =   4440
      TabIndex        =   2
      Top             =   4440
      Width           =   1215
   End
   Begin VB.TextBox txtX2 
      Height          =   495
      Left            =   2400
      TabIndex        =   1
      Text            =   "0"
      Top             =   3840
      Width           =   1215
   End
   Begin VB.TextBox txtX1 
      Height          =   495
      Left            =   1080
      TabIndex        =   0
      Text            =   "0"
      Top             =   3840
      Width           =   1215
   End
   Begin VB.Label Label4 
      Caption         =   "Y1"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   1080
      TabIndex        =   8
      Top             =   4680
      Width           =   1215
   End
   Begin VB.Label Label3 
      Caption         =   "Y2"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   2400
      TabIndex        =   7
      Top             =   4680
      Width           =   1215
   End
   Begin VB.Line Line1 
      Index           =   0
      X1              =   360
      X2              =   3480
      Y1              =   600
      Y2              =   1080
   End
   Begin VB.Label Label2 
      Caption         =   "X2"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   2400
      TabIndex        =   4
      Top             =   3480
      Width           =   1215
   End
   Begin VB.Label Label1 
      Caption         =   "X1"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   8.25
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   375
      Left            =   1080
      TabIndex        =   3
      Top             =   3480
      Width           =   1215
   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 Command1_Click()

    Load Line1(Line1.Count)
    Line1(Line1.UBound).X1 = Val(txtX1.Text)
    Line1(Line1.UBound).X2 = Val(txtX2.Text)
    Line1(Line1.UBound).Y1 = Val(txtY1.Text)
    Line1(Line1.UBound).Y2 = Val(txtY2.Text)
    Line1(Line1.UBound).Visible = True
    
End Sub


