0
|
1 using System;
|
|
2
|
|
3 using PetShop.ObjectModel;
|
|
4
|
|
5 namespace PetShop.Web
|
|
6 {
|
|
7 public partial class AddressConfirm : System.Web.UI.UserControl
|
|
8 {
|
|
9 /// <summary>
|
|
10 /// Control property to set the address
|
|
11 /// </summary>
|
|
12 public Address Address
|
|
13 {
|
|
14 set
|
|
15 {
|
|
16 if (value != null)
|
|
17 {
|
|
18 ltlFirstName.Text = value.FirstName;
|
|
19 ltlLastName. Text = value.LastName;
|
|
20 ltlAddress1. Text = value.Line1;
|
|
21 ltlAddress2. Text = value.Line2;
|
|
22 ltlCity. Text = value.City;
|
|
23 ltlZip. Text = value.Zip;
|
|
24 ltlState. Text = value.State;
|
|
25 ltlCountry. Text = value.Country;
|
|
26 ltlPhone. Text = value.Phone;
|
|
27 ltlEmail. Text = value.Email;
|
|
28 }
|
|
29 }
|
|
30 }
|
|
31 }
|
|
32 }
|