comparison Demo/Asp.Net/Web/Controls/AddressConfirm.ascx.cs @ 0:f990fcb411a9

Копия текущей версии из github
author cin
date Thu, 27 Mar 2014 21:46:09 +0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f990fcb411a9
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 }