Files
PWAPP/PWAPPv2/Source/PatientGUIAdapter.cs
T
2023-07-17 20:41:20 -04:00

27 lines
777 B
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 PatientGUIAdapter(Patient patient)
{
p = patient;
}
}
}