public void Update(object sender, AdventureWorksPeople.PersonSummaryRow person, string message = "")
 {
     if (sender is PatientLookupForm)
     {
         this.IsPatientSelected = true;
         this.personInfoPanel1.Visible = true;
         this.personInfoPanel1.Update(this, person);
     }
 }
        public void Update(object sender, AdventureWorksPeople.PersonSummaryRow person, string message = "")
        {
            this.FirstName = person.FirstName;
            this.LastName = person.LastName;

            this.AddressLine1 = person.AddressLine1;
            this.City = person.City;
            this.State = person.StateProvinceCode;
            this.Zip = person.PostalCode;

            this.PhoneNumber = "5012345695";

            try
            {
                this.MiddleName = person.MiddleName;
            }
            catch
            {
                this.MiddleName = "";
            }
        }