Public Class Form1
    Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "
#End Region

Private Sub Form1_Load(ByVal sender As System.Object,
       ByVal e As System.EventArgs) Handles MyBase.Load
        Dim WS As New localhost.StructService1()

        Dim employee1 As localhost.Employee

        employee1 = WS.GetEmployee()

        txtName.Text = employee1.Name
        txtAge.Text = employee1.Age
        txtSSN.Text = employee1.SSN
        TxtHireDate.Text = employee1.HDate

    End Sub
End Class

