31 lines
1.0 KiB
C#
31 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace PWAPPv2.Source
|
|
{
|
|
class PatientGUIAdapter
|
|
{
|
|
private Patient p;
|
|
public string txtFName { get { return p.FName; } }
|
|
public string txtLName { get { return p.LName; } }
|
|
public string txtMName { get { return p.MName; } }
|
|
public string txtDob { get { return p.DoB; } }
|
|
public string txtStreet { get { return p.Address; } }
|
|
public string txtCity { get { return p.City; } }
|
|
public string txtState { get { return p.State; } }
|
|
public string txtZip { get { return p.Zip; } }
|
|
public string txtHomePhone { get { return p.HomePhone; } }
|
|
public string txtWorkPhone { get { return p.WorkPhone; } }
|
|
public string txtWirelessPhone { get { return p.WirelessPhone; } }
|
|
public string txtEmail { get { return p.Email; } }
|
|
|
|
public PatientGUIAdapter(Patient patient)
|
|
{
|
|
p = patient;
|
|
}
|
|
}
|
|
}
|