You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ibatis.apache.org by gb...@apache.org on 2005/06/19 16:45:25 UTC

svn commit: r191346 [11/16] - in /ibatis/trunk/cs/npetshop2: ./ External-bin/ NPetshop.Domain/ NPetshop.Domain/Accounts/ NPetshop.Domain/Billing/ NPetshop.Domain/Catalog/ NPetshop.Domain/Shopping/ NPetshop.Persistence/ NPetshop.Persistence/Ddl/ NPetsho...

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/NPetshop.Web.csproj
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/NPetshop.Web.csproj?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/NPetshop.Web.csproj (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/NPetshop.Web.csproj Sun Jun 19 07:45:17 2005
@@ -0,0 +1,952 @@
+<VisualStudioProject>
+    <CSHARP
+        ProjectType = "Web"
+        ProductVersion = "7.10.3077"
+        SchemaVersion = "2.0"
+        ProjectGuid = "{C0EE0335-5733-409B-B4E3-59C3B9799731}"
+    >
+        <Build>
+            <Settings
+                ApplicationIcon = ""
+                AssemblyKeyContainerName = ""
+                AssemblyName = "NPetshop.Web"
+                AssemblyOriginatorKeyFile = ""
+                DefaultClientScript = "JScript"
+                DefaultHTMLPageLayout = "Flow"
+                DefaultTargetSchema = "IE50"
+                DelaySign = "false"
+                OutputType = "Library"
+                PreBuildEvent = ""
+                PostBuildEvent = ""
+                RootNamespace = "NPetshop.Web"
+                RunPostBuildEvent = "OnBuildSuccess"
+                StartupObject = ""
+            >
+                <Config
+                    Name = "Debug"
+                    AllowUnsafeBlocks = "false"
+                    BaseAddress = "285212672"
+                    CheckForOverflowUnderflow = "false"
+                    ConfigurationOverrideFile = ""
+                    DefineConstants = "DEBUG;TRACE"
+                    DocumentationFile = ""
+                    DebugSymbols = "true"
+                    FileAlignment = "4096"
+                    IncrementalBuild = "false"
+                    NoStdLib = "false"
+                    NoWarn = ""
+                    Optimize = "false"
+                    OutputPath = "bin\"
+                    RegisterForComInterop = "false"
+                    RemoveIntegerChecks = "false"
+                    TreatWarningsAsErrors = "false"
+                    WarningLevel = "4"
+                />
+                <Config
+                    Name = "Release"
+                    AllowUnsafeBlocks = "false"
+                    BaseAddress = "285212672"
+                    CheckForOverflowUnderflow = "false"
+                    ConfigurationOverrideFile = ""
+                    DefineConstants = "TRACE"
+                    DocumentationFile = ""
+                    DebugSymbols = "false"
+                    FileAlignment = "4096"
+                    IncrementalBuild = "false"
+                    NoStdLib = "false"
+                    NoWarn = ""
+                    Optimize = "true"
+                    OutputPath = "bin\"
+                    RegisterForComInterop = "false"
+                    RemoveIntegerChecks = "false"
+                    TreatWarningsAsErrors = "false"
+                    WarningLevel = "4"
+                />
+            </Settings>
+            <References>
+                <Reference
+                    Name = "System"
+                    AssemblyName = "System"
+                    HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll"
+                />
+                <Reference
+                    Name = "System.Drawing"
+                    AssemblyName = "System.Drawing"
+                    HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Drawing.dll"
+                />
+                <Reference
+                    Name = "System.Data"
+                    AssemblyName = "System.Data"
+                    HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll"
+                />
+                <Reference
+                    Name = "System.Web"
+                    AssemblyName = "System.Web"
+                    HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Web.dll"
+                />
+                <Reference
+                    Name = "System.XML"
+                    AssemblyName = "System.Xml"
+                    HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll"
+                />
+                <Reference
+                    Name = "NPetshop.Domain"
+                    Project = "{7D1DA776-6341-43C8-B9C7-8FA344996665}"
+                    Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"
+                />
+                <Reference
+                    Name = "NPetshop.Presentation"
+                    Project = "{182B5E6F-CAFA-42A6-B0EA-8782F2F3A48A}"
+                    Package = "{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}"
+                />
+                <Reference
+                    Name = "Castle.Windsor"
+                    AssemblyName = "Castle.Windsor"
+                    HintPath = "..\External-bin\Castle.Windsor.dll"
+                />
+                <Reference
+                    Name = "IBatisNet.Common"
+                    AssemblyName = "IBatisNet.Common"
+                    HintPath = "..\External-bin\IBatisNet.Common.dll"
+                />
+                <Reference
+                    Name = "Castle.MVC"
+                    AssemblyName = "Castle.MVC"
+                    HintPath = "..\External-bin\Castle.MVC.dll"
+                />
+            </References>
+        </Build>
+        <Files>
+            <Include>
+                <File
+                    RelPath = "AssemblyInfo.cs"
+                    SubType = "Code"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "ChangeLog.txt"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "Global.asax"
+                    SubType = "Component"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "Global.asax.cs"
+                    DependentUpon = "Global.asax"
+                    SubType = "Code"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "Global.asax.resx"
+                    DependentUpon = "Global.asax.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "NPetshop.mdb"
+                    BuildAction = "None"
+                />
+                <File
+                    RelPath = "properties.config"
+                    BuildAction = "None"
+                />
+                <File
+                    RelPath = "readme.txt"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "Web.config"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@css\styles.css"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\cart.gif"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\iconCritical.gif"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\space.gif"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\splash.jpg"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\title.gif"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\top_stripe1.gif"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\top_stripe2.gif"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\top_stripe3.gif"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\Pets\bird1.jpg"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\Pets\bird2.jpg"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\Pets\cat1.jpg"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\Pets\cat2.jpg"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\Pets\dog1.jpg"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\Pets\dog2.jpg"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\Pets\dog3.jpg"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\Pets\dog4.jpg"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\Pets\dog5.jpg"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\Pets\dog6.jpg"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\Pets\fish1.jpg"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\Pets\fish2.jpg"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\Pets\fish3.jpg"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\Pets\fish4.jpg"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\Pets\reptile1.jpg"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "@images\Pets\reptile2.jpg"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "Controls\ExtendedRepeater.cs"
+                    SubType = "Code"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\AdviceBanner.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\AdviceBanner.ascx.cs"
+                    DependentUpon = "AdviceBanner.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\AdviceBanner.ascx.resx"
+                    DependentUpon = "AdviceBanner.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Banner.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Banner.ascx.cs"
+                    DependentUpon = "Banner.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Banner.ascx.resx"
+                    DependentUpon = "Banner.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Footer.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Footer.ascx.cs"
+                    DependentUpon = "Footer.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Footer.ascx.resx"
+                    DependentUpon = "Footer.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Header.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Header.ascx.cs"
+                    DependentUpon = "Header.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Header.ascx.resx"
+                    DependentUpon = "Header.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\NPetshopUC.cs"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\SideBar.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\SideBar.ascx.cs"
+                    DependentUpon = "SideBar.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\SideBar.ascx.resx"
+                    DependentUpon = "SideBar.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\StartUp.ascx"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\StartUp.ascx.cs"
+                    DependentUpon = "StartUp.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\StartUp.ascx.resx"
+                    DependentUpon = "StartUp.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\TopBar.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\TopBar.ascx.cs"
+                    DependentUpon = "TopBar.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\TopBar.ascx.resx"
+                    DependentUpon = "TopBar.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Accounts\AccountEdition.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Accounts\AccountEdition.ascx.cs"
+                    DependentUpon = "AccountEdition.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Accounts\AccountEdition.ascx.resx"
+                    DependentUpon = "AccountEdition.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Accounts\AccountUI.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Accounts\AccountUI.ascx.cs"
+                    DependentUpon = "AccountUI.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Accounts\AccountUI.ascx.resx"
+                    DependentUpon = "AccountUI.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Accounts\AddressStatic.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Accounts\AddressStatic.ascx.cs"
+                    DependentUpon = "AddressStatic.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Accounts\AddressStatic.ascx.resx"
+                    DependentUpon = "AddressStatic.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Accounts\AddressUI.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Accounts\AddressUI.ascx.cs"
+                    DependentUpon = "AddressUI.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Accounts\AddressUI.ascx.resx"
+                    DependentUpon = "AddressUI.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Accounts\NewAccount.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Accounts\NewAccount.ascx.cs"
+                    DependentUpon = "NewAccount.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Accounts\NewAccount.ascx.resx"
+                    DependentUpon = "NewAccount.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Accounts\SignIn.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Accounts\SignIn.ascx.cs"
+                    DependentUpon = "SignIn.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Accounts\SignIn.ascx.resx"
+                    DependentUpon = "SignIn.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Accounts\SignOut.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Accounts\SignOut.ascx.cs"
+                    DependentUpon = "SignOut.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Accounts\SignOut.ascx.resx"
+                    DependentUpon = "SignOut.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Billing\Bill.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Billing\Bill.ascx.cs"
+                    DependentUpon = "Bill.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Billing\Bill.ascx.resx"
+                    DependentUpon = "Bill.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Billing\BillUI.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Billing\BillUI.ascx.cs"
+                    DependentUpon = "BillUI.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Billing\BillUI.ascx.resx"
+                    DependentUpon = "BillUI.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Billing\Confirmation.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Billing\Confirmation.ascx.cs"
+                    DependentUpon = "Confirmation.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Billing\Confirmation.ascx.resx"
+                    DependentUpon = "Confirmation.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Billing\Payment.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Billing\Payment.ascx.cs"
+                    DependentUpon = "Payment.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Billing\Payment.ascx.resx"
+                    DependentUpon = "Payment.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Billing\Shipping.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Billing\Shipping.ascx.cs"
+                    DependentUpon = "Shipping.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Billing\Shipping.ascx.resx"
+                    DependentUpon = "Shipping.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Catalog\Category.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Catalog\Category.ascx.cs"
+                    DependentUpon = "Category.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Catalog\Category.ascx.resx"
+                    DependentUpon = "Category.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Catalog\Item.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Catalog\Item.ascx.cs"
+                    DependentUpon = "Item.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Catalog\Item.ascx.resx"
+                    DependentUpon = "Item.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Catalog\MyList.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Catalog\MyList.ascx.cs"
+                    DependentUpon = "MyList.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Catalog\MyList.ascx.resx"
+                    DependentUpon = "MyList.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Catalog\Product.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Catalog\Product.ascx.cs"
+                    DependentUpon = "Product.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Catalog\Product.ascx.resx"
+                    DependentUpon = "Product.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Catalog\Search.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Catalog\Search.ascx.cs"
+                    DependentUpon = "Search.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Catalog\Search.ascx.resx"
+                    DependentUpon = "Search.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Catalog\SearchProduct.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Catalog\SearchProduct.ascx.cs"
+                    DependentUpon = "SearchProduct.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Catalog\SearchProduct.ascx.resx"
+                    DependentUpon = "SearchProduct.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Shopping\Cart.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Shopping\Cart.ascx.cs"
+                    DependentUpon = "Cart.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Shopping\Cart.ascx.resx"
+                    DependentUpon = "Cart.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "UserControls\Shopping\Checkout.ascx"
+                    SubType = "UserControl"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "UserControls\Shopping\Checkout.ascx.cs"
+                    DependentUpon = "Checkout.ascx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "UserControls\Shopping\Checkout.ascx.resx"
+                    DependentUpon = "Checkout.ascx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "Views\default.aspx"
+                    SubType = "Form"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "Views\default.aspx.cs"
+                    DependentUpon = "default.aspx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "Views\default.aspx.resx"
+                    DependentUpon = "default.aspx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "Views\NPetshopView.cs"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "Views\Account\AccountEdition.aspx"
+                    SubType = "Form"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "Views\Account\AccountEdition.aspx.cs"
+                    DependentUpon = "AccountEdition.aspx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "Views\Account\AccountEdition.aspx.resx"
+                    DependentUpon = "AccountEdition.aspx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "Views\Account\Register.aspx"
+                    SubType = "Form"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "Views\Account\Register.aspx.cs"
+                    DependentUpon = "Register.aspx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "Views\Account\Register.aspx.resx"
+                    DependentUpon = "Register.aspx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "Views\Account\SignIn.aspx"
+                    SubType = "Form"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "Views\Account\SignIn.aspx.cs"
+                    DependentUpon = "SignIn.aspx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "Views\Account\SignIn.aspx.resx"
+                    DependentUpon = "SignIn.aspx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "Views\Account\SignOut.aspx"
+                    SubType = "Form"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "Views\Account\SignOut.aspx.cs"
+                    DependentUpon = "SignOut.aspx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "Views\Account\SignOut.aspx.resx"
+                    DependentUpon = "SignOut.aspx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "Views\Billing\Billing.aspx"
+                    SubType = "Form"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "Views\Billing\Billing.aspx.cs"
+                    DependentUpon = "Billing.aspx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "Views\Billing\Billing.aspx.resx"
+                    DependentUpon = "Billing.aspx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "Views\Billing\Confirmation.aspx"
+                    SubType = "Form"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "Views\Billing\Confirmation.aspx.cs"
+                    DependentUpon = "Confirmation.aspx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "Views\Billing\Confirmation.aspx.resx"
+                    DependentUpon = "Confirmation.aspx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "Views\Billing\Payment.aspx"
+                    SubType = "Form"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "Views\Billing\Payment.aspx.cs"
+                    DependentUpon = "Payment.aspx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "Views\Billing\Payment.aspx.resx"
+                    DependentUpon = "Payment.aspx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "Views\Billing\Shipping.aspx"
+                    SubType = "Form"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "Views\Billing\Shipping.aspx.cs"
+                    DependentUpon = "Shipping.aspx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "Views\Billing\Shipping.aspx.resx"
+                    DependentUpon = "Shipping.aspx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "Views\Catalog\Category.aspx"
+                    SubType = "Form"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "Views\Catalog\Category.aspx.cs"
+                    DependentUpon = "Category.aspx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "Views\Catalog\Category.aspx.resx"
+                    DependentUpon = "Category.aspx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "Views\Catalog\Item.aspx"
+                    SubType = "Form"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "Views\Catalog\Item.aspx.cs"
+                    DependentUpon = "Item.aspx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "Views\Catalog\Item.aspx.resx"
+                    DependentUpon = "Item.aspx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "Views\Catalog\Product.aspx"
+                    SubType = "Form"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "Views\Catalog\Product.aspx.cs"
+                    DependentUpon = "Product.aspx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "Views\Catalog\Product.aspx.resx"
+                    DependentUpon = "Product.aspx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "Views\Catalog\SearchProduct.aspx"
+                    SubType = "Form"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "Views\Catalog\SearchProduct.aspx.cs"
+                    DependentUpon = "SearchProduct.aspx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "Views\Catalog\SearchProduct.aspx.resx"
+                    DependentUpon = "SearchProduct.aspx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "Views\Shopping\Cart.aspx"
+                    SubType = "Form"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "Views\Shopping\Cart.aspx.cs"
+                    DependentUpon = "Cart.aspx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "Views\Shopping\Cart.aspx.resx"
+                    DependentUpon = "Cart.aspx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+                <File
+                    RelPath = "Views\Shopping\Checkout.aspx"
+                    SubType = "Form"
+                    BuildAction = "Content"
+                />
+                <File
+                    RelPath = "Views\Shopping\Checkout.aspx.cs"
+                    DependentUpon = "Checkout.aspx"
+                    SubType = "ASPXCodeBehind"
+                    BuildAction = "Compile"
+                />
+                <File
+                    RelPath = "Views\Shopping\Checkout.aspx.resx"
+                    DependentUpon = "Checkout.aspx.cs"
+                    BuildAction = "EmbeddedResource"
+                />
+            </Include>
+        </Files>
+    </CSHARP>
+</VisualStudioProject>
+

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/NPetshop.Web.csproj.webinfo
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/NPetshop.Web.csproj.webinfo?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/NPetshop.Web.csproj.webinfo (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/NPetshop.Web.csproj.webinfo Sun Jun 19 07:45:17 2005
@@ -0,0 +1,4 @@
+<VisualStudioUNCWeb>
+    <Web URLPath = "http://localhost/NPetshop.Web/NPetshop.Web.csproj" />
+</VisualStudioUNCWeb>
+

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/NPetshop.mdb
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/NPetshop.mdb?rev=191346&view=auto
==============================================================================
Binary file - no diff available.

Propchange: ibatis/trunk/cs/npetshop2/NPetshop.Web/NPetshop.mdb
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountEdition.ascx
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountEdition.ascx?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountEdition.ascx (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountEdition.ascx Sun Jun 19 07:45:17 2005
@@ -0,0 +1,19 @@
+<%@ Register TagPrefix="uc1" TagName="AccountUI" Src="AccountUI.ascx" %>
+<%@ Control Language="c#" AutoEventWireup="false" Codebehind="AccountEdition.ascx.cs" Inherits="NPetshop.Web.UserControls.Accounts.AccountEdition" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
+<%@ Register TagPrefix="uc1" TagName="Banner" Src="../Banner.ascx" %>
+<%@ Register TagPrefix="uc1" TagName="TopBar" Src="../TopBar.ascx" %>
+<uc1:Banner id="Banner" runat="server"></uc1:Banner>
+<uc1:TopBar id="TopBar" runat="server"></uc1:TopBar>
+<div style="MARGIN-TOP: 0px; MARGIN-LEFT: 50px">
+	<B>My account.</B>
+	<br>
+	<uc1:AccountUI id="ucAccount" runat="server"></uc1:AccountUI>
+	<table cellSpacing="0" cellPadding="0" width="600" border="0">
+		<tr>
+			<td align="right">
+				<asp:button id="ButtonUpdateAccount" CssClass="btnImage" runat="server" Text="Update Account"></asp:button>&nbsp;
+				<asp:button id="ButtonCancel" CssClass="btnImage" runat="server" Text="Cancel" CommandName="goHome" CausesValidation="False"></asp:button>
+			</td>
+		</tr>
+	</table>
+</div>

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountEdition.ascx.cs
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountEdition.ascx.cs?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountEdition.ascx.cs (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountEdition.ascx.cs Sun Jun 19 07:45:17 2005
@@ -0,0 +1,73 @@
+using System;
+using System.Web.UI.WebControls;
+using NPetshop.Presentation;
+
+namespace NPetshop.Web.UserControls.Accounts
+{
+	/// <summary>
+	/// Description résumée de AccountEdition.
+	/// </summary>
+	public class AccountEdition : NPetshopUC
+	{
+		protected Button ButtonCancel;
+		protected Button ButtonUpdateAccount;
+		protected AccountUI ucAccount;
+		private AccountController _accountController = null;
+
+		public AccountController AccountController
+		{
+			set { _accountController = value; }
+		}
+
+		private void Page_Load(object sender, EventArgs e)
+		{
+			if(!IsPostBack )
+			{
+				DataBind();
+			}
+		}
+		
+		public override void DataBind()
+		{
+			ucAccount.Account = this.NPetshopState.CurrentUser;
+		}
+
+		private void ButtonUpdateAccount_Click(object sender, EventArgs e)
+		{
+			if (Page.IsValid)
+			{
+				_accountController.Account = ucAccount.Account;
+				_accountController.UpdateAccount();
+			}
+		}
+
+		private void ButtonCancel_Click(object sender, EventArgs e)
+		{
+			_accountController.CancelEdition();
+		}
+
+		#region Code généré par le Concepteur Web Form
+		override protected void OnInit(EventArgs e)
+		{
+			//
+			// CODEGEN : Cet appel est requis par le Concepteur Web Form ASP.NET.
+			//
+			InitializeComponent();
+			base.OnInit(e);
+		}
+		
+		/// <summary>
+		///		Méthode requise pour la prise en charge du concepteur - ne modifiez pas
+		///		le contenu de cette méthode avec l'éditeur de code.
+		/// </summary>
+		private void InitializeComponent()
+		{
+			this.ButtonUpdateAccount.Click += new EventHandler(this.ButtonUpdateAccount_Click);
+			this.ButtonCancel.Click += new EventHandler(this.ButtonCancel_Click);
+			this.Load += new EventHandler(this.Page_Load);
+
+		}
+		#endregion
+
+	}
+}

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountEdition.ascx.resx
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountEdition.ascx.resx?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountEdition.ascx.resx (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountEdition.ascx.resx Sun Jun 19 07:45:17 2005
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 1.3
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">1.3</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1">this is my long string</data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        [base64 mime encoded serialized .NET Framework object]
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        [base64 mime encoded string representing a byte array form of the .NET Framework object]
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used forserialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>1.3</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <data name="$this.TrayAutoArrange" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </data>
+  <data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+</root>
\ No newline at end of file

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountUI.ascx
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountUI.ascx?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountUI.ascx (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountUI.ascx Sun Jun 19 07:45:17 2005
@@ -0,0 +1,84 @@
+<%@ Control Language="c#" AutoEventWireup="false" Codebehind="AccountUI.ascx.cs" Inherits="NPetshop.Web.UserControls.Accounts.AccountUI" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
+<%@ Register TagPrefix="uc1" TagName="AddressUI" Src="AddressUI.ascx" %>
+<fieldset style="WIDTH:600px">
+	<legend class="label">
+		Account</legend>
+	<table cellpadding="0" cellspacing="0" border="0">
+		<tr>
+			<td class="label" width="133">Login:</td>
+			<td colspan="3">
+				<asp:textbox onfocus="this.className='textBox-on'" onblur="this.className='textBox'" CssClass="textBox" id="textboxLogin" runat="server" columns="15" maxlength="20" />
+				<asp:requiredfieldvalidator id="valUserId" runat="server" controltovalidate="textboxLogin" errormessage="Please enter user ID."
+					enableclientscript="False" />
+			</td>
+		</tr>
+		<tr>
+			<td class="label">Password:</td>
+			<td colspan="3">
+				<asp:textbox CssClass="textBox" onfocus="this.className='textBox-on'" onblur="this.className='textBox'" id="textboxPassword" runat="server" columns="15" maxlength="20" textmode="Password" />
+				<asp:requiredfieldvalidator id="valPassword" runat="server" controltovalidate="textboxPassword" errormessage="Please enter password."
+					enableclientscript="False" />
+			</td>
+		</tr>
+		<tr>
+			<td class="label">E-mail Address:</td>
+			<td colspan="3">
+				<asp:textbox CssClass="textBox" onfocus="this.className='textBox-on'" onblur="this.className='textBox'" id="textboxEmail" runat="server" columns="30" maxlength="80" />
+				<asp:requiredfieldvalidator id="valEmail" runat="server" controltovalidate="textboxEmail" errormessage="Please enter e-mail address."
+					enableclientscript="False" />
+			</td>
+		</tr>
+	</table>
+</fieldset>
+<fieldset style="WIDTH:600px">
+	<legend class="label">
+		Address</legend>
+	<uc1:AddressUI id="ucAddress" runat="server"></uc1:AddressUI>
+</fieldset>
+<fieldset style="WIDTH:600px;">
+	<legend class="label">
+		Preferences</legend>
+	<table cellpadding="1" cellspacing="0">
+		<tr>
+			<td colspan="2">
+				<table cellpadding="0" cellspacing="0">
+					<tr>
+						<td>Show the .NET Pet Shop in&nbsp;</td>
+						<td>
+							<asp:dropdownlist id="listLanguage" CssClass="select" runat="server">
+								<asp:listitem>English</asp:listitem>
+								<asp:listitem>Japanese</asp:listitem>
+							</asp:dropdownlist>
+						</td>
+					</tr>
+				</table>
+			</td>
+		</tr>
+		<tr>
+			<td colspan="2">
+				<table cellpadding="0" cellspacing="0">
+					<tr>
+						<td>My favorite category is&nbsp;</td>
+						<td>
+							<asp:dropdownlist id="listCategory" CssClass="select" runat="server">
+								<asp:ListItem Value="FISH">Fish</asp:ListItem>
+								<asp:ListItem Value="DOGS">Dogs</asp:ListItem>
+								<asp:ListItem Value="REPTILES">Reptiles</asp:ListItem>
+								<asp:ListItem Value="CATS">Cats</asp:ListItem>
+								<asp:ListItem Value="BIRDS">Birds</asp:ListItem>
+							</asp:dropdownlist>
+						</td>
+					</tr>
+				</table>
+			</td>
+		</tr>
+		<tr>
+			<td><asp:checkbox id="chkShowFavorites" CssClass="on" runat="server" checked="True" /></td>
+			<td>Make items in my favorite category more prominent as I shop.</td>
+		</tr>
+		<tr>
+			<td><asp:checkbox id="chkShowBanners" runat="server" checked="True" /></td>
+			<td>Show pet tips based on my favorite category.</td>
+		</tr>
+	</table>
+</fieldset>

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountUI.ascx.cs
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountUI.ascx.cs?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountUI.ascx.cs (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountUI.ascx.cs Sun Jun 19 07:45:17 2005
@@ -0,0 +1,101 @@
+namespace NPetshop.Web.UserControls.Accounts
+{
+	using System;
+	using System.Data;
+	using System.Drawing;
+	using System.Web;
+	using System.Web.UI.WebControls;
+	using System.Web.UI.HtmlControls;
+
+	using NPetshop.Domain.Accounts;
+	using NPetshop.Domain.Catalog;
+
+	/// <summary>
+	/// Description résumée de Account.
+	/// </summary>
+	public class AccountUI : NPetshopUC
+	{
+		protected System.Web.UI.WebControls.TextBox textboxLogin;
+		protected System.Web.UI.WebControls.TextBox textboxPassword;
+		protected System.Web.UI.WebControls.TextBox textboxEmail;
+
+		protected System.Web.UI.WebControls.RequiredFieldValidator valUserId;
+		protected System.Web.UI.WebControls.RequiredFieldValidator valPassword;
+		protected System.Web.UI.WebControls.RequiredFieldValidator valEmail;
+		protected System.Web.UI.WebControls.DropDownList listLanguage;
+		protected System.Web.UI.WebControls.DropDownList listCategory;
+		protected System.Web.UI.WebControls.CheckBox chkShowFavorites;
+		protected System.Web.UI.WebControls.CheckBox chkShowBanners;
+		protected AddressUI ucAddress;
+		
+		public NPetshop.Domain.Accounts.Account Account
+		{
+			get
+			{
+				NPetshop.Domain.Accounts.Account account = new NPetshop.Domain.Accounts.Account();
+
+				account.Login = textboxLogin.Text;
+				account.Password = textboxPassword.Text;
+				account.Email = textboxEmail.Text;
+
+				account.Address = ucAddress.Address ;
+
+				account.Profile.FavoriteLanguage = listLanguage.SelectedItem.Value ;
+				account.Profile.FavouriteCategory  = new Category(); 
+				account.Profile.FavouriteCategory.Id = listCategory.SelectedItem.Value;
+				account.Profile.IsShowFavorites = chkShowFavorites.Checked;
+				account.Profile.IsShowBanners = chkShowBanners.Checked;
+
+				return account;
+			} 
+			set
+			{
+				textboxLogin.Text = value.Login;
+				textboxPassword.Text = value.Password;
+				textboxEmail.Text = value.Email;
+
+				ucAddress.Address = value.Address;
+
+				SetSelectedItem(listLanguage, value.Profile.FavoriteLanguage);
+				SetSelectedItem(listCategory, value.Profile.FavouriteCategory.Id);
+				chkShowFavorites.Checked = value.Profile.IsShowFavorites;
+				chkShowBanners.Checked = value.Profile.IsShowBanners;
+			}
+		}
+
+		private void SetSelectedItem(DropDownList list, string value)
+		{
+			ListItem item = list.Items.FindByValue(value);
+			if (item != null)
+			{
+				item.Selected = true;
+			}
+		}
+
+		private void Page_Load(object sender, System.EventArgs e)
+		{
+			this.SetFocus(textboxLogin);
+		}
+
+		#region Code généré par le Concepteur Web Form
+		override protected void OnInit(EventArgs e)
+		{
+			//
+			// CODEGEN : Cet appel est requis par le Concepteur Web Form ASP.NET.
+			//
+			InitializeComponent();
+			base.OnInit(e);
+		}
+		
+		/// <summary>
+		///		Méthode requise pour la prise en charge du concepteur - ne modifiez pas
+		///		le contenu de cette méthode avec l'éditeur de code.
+		/// </summary>
+		private void InitializeComponent()
+		{
+			this.Load += new System.EventHandler(this.Page_Load);
+
+		}
+		#endregion
+	}
+}

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountUI.ascx.resx
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountUI.ascx.resx?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountUI.ascx.resx (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AccountUI.ascx.resx Sun Jun 19 07:45:17 2005
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 1.3
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">1.3</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1">this is my long string</data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        [base64 mime encoded serialized .NET Framework object]
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        [base64 mime encoded string representing a byte array form of the .NET Framework object]
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used forserialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>1.3</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="$this.TrayAutoArrange" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </data>
+</root>
\ No newline at end of file

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressStatic.ascx
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressStatic.ascx?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressStatic.ascx (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressStatic.ascx Sun Jun 19 07:45:17 2005
@@ -0,0 +1,57 @@
+<%@ Control Language="c#" AutoEventWireup="false" Codebehind="AddressStatic.ascx.cs" Inherits="NPetshop.Web.UserControls.Accounts.AddressStatic" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
+<table cellpadding="0" cellspacing="0" border="0">
+	<tr>
+		<td class="label" width="125">First Name:</td>
+		<td>
+			<asp:Literal id="LiteralFirstName" runat="server" />
+		</td>
+	</tr>
+	<tr>
+		<td class="label">Last Name:</td>
+		<td>
+			<asp:Literal id="LiteralLastName" runat="server" />
+		</td>
+	</tr>
+	<tr>
+		<td class="label">Street Address:</td>
+		<td>
+			<asp:Literal id="LiteralAddress1" runat="server" />
+		</td>
+	</tr>
+	<tr>
+		<td></td>
+		<td>
+			<asp:Literal id="LiteralAddress2" runat="server" />
+		</td>
+	</tr>
+	<tr>
+		<td class="label">City:</td>
+		<td>
+			<asp:Literal id="LiteralCity" runat="server" />
+		</td>
+	</tr>
+	<tr>
+		<td class="label">State / Province:</td>
+		<td>
+			<asp:Literal id="LiteralState" runat="server" />
+		</td>
+	</tr>
+		<tr>
+		<td class="label">Postal Code:</td>
+		<td>
+			<asp:Literal id="LiteralZip" runat="server" />
+		</td>
+	</tr>
+	<tr>
+		<td class="label">Country:</td>
+		<td>
+			<asp:Literal id="LiteralCountry" runat="server" />
+		</td>
+	</tr>
+	<tr>
+		<td class="label">Telephone Number:</td>
+		<td>
+			<asp:Literal id="LiteralPhone" runat="server" />
+		</td>
+	</tr>
+</table>

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressStatic.ascx.cs
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressStatic.ascx.cs?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressStatic.ascx.cs (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressStatic.ascx.cs Sun Jun 19 07:45:17 2005
@@ -0,0 +1,69 @@
+namespace NPetshop.Web.UserControls.Accounts
+{
+	using System;
+	using System.Data;
+	using System.Drawing;
+	using System.Web;
+	using System.Web.UI.WebControls;
+	using System.Web.UI.HtmlControls;
+
+	using NPetshop.Domain.Accounts;
+
+	/// <summary>
+	/// Description résumée de AddressStatic.
+	/// </summary>
+	public class AddressStatic : System.Web.UI.UserControl
+	{
+		protected System.Web.UI.WebControls.Literal LiteralFirstName;
+		protected System.Web.UI.WebControls.Literal LiteralLastName;
+		protected System.Web.UI.WebControls.Literal LiteralAddress1;
+		protected System.Web.UI.WebControls.Literal LiteralAddress2;
+		protected System.Web.UI.WebControls.Literal LiteralCity;
+		protected System.Web.UI.WebControls.Literal LiteralState;
+		protected System.Web.UI.WebControls.Literal LiteralZip;
+		protected System.Web.UI.WebControls.Literal LiteralCountry;
+		protected System.Web.UI.WebControls.Literal LiteralPhone;
+
+		public Address Address
+		{
+			set
+			{
+				LiteralFirstName.Text = value.FirstName;
+				LiteralLastName.Text = value.LastName;
+				LiteralAddress1.Text = value.Address1;
+				LiteralAddress2.Text = value.Address2;
+				LiteralCity.Text = value.City;
+				LiteralZip.Text = value.Zip;
+				LiteralState.Text = value.State;
+				LiteralCountry.Text = value.Country;
+				LiteralPhone.Text = value.Phone;
+			}
+		}
+
+		private void Page_Load(object sender, System.EventArgs e)
+		{
+			// Placer ici le code utilisateur pour initialiser la page
+		}
+
+		#region Code généré par le Concepteur Web Form
+		override protected void OnInit(EventArgs e)
+		{
+			//
+			// CODEGEN : Cet appel est requis par le Concepteur Web Form ASP.NET.
+			//
+			InitializeComponent();
+			base.OnInit(e);
+		}
+		
+		/// <summary>
+		///		Méthode requise pour la prise en charge du concepteur - ne modifiez pas
+		///		le contenu de cette méthode avec l'éditeur de code.
+		/// </summary>
+		private void InitializeComponent()
+		{
+			this.Load += new System.EventHandler(this.Page_Load);
+
+		}
+		#endregion
+	}
+}

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressStatic.ascx.resx
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressStatic.ascx.resx?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressStatic.ascx.resx (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressStatic.ascx.resx Sun Jun 19 07:45:17 2005
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 1.3
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">1.3</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1">this is my long string</data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        [base64 mime encoded serialized .NET Framework object]
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        [base64 mime encoded string representing a byte array form of the .NET Framework object]
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used forserialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>1.3</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="$this.TrayAutoArrange" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </data>
+</root>
\ No newline at end of file

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressUI.ascx
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressUI.ascx?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressUI.ascx (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressUI.ascx Sun Jun 19 07:45:17 2005
@@ -0,0 +1,81 @@
+<%@ Control Language="c#" AutoEventWireup="false" Codebehind="AddressUI.ascx.cs" Inherits="NPetshop.Web.UserControls.Accounts.AddressUI" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
+<table cellpadding="0" cellspacing="0" border="0">
+	<tr>
+		<td class="label" width="125">First Name:</td>
+		<td>
+			<asp:textbox id="txtFirstName" CssClass="textBox" runat="server" columns="30" maxlength="80" />
+			<asp:requiredfieldvalidator id="valFirstName" runat="server" controltovalidate="txtFirstName" errormessage="Please enter first name."
+				enableclientscript="False" />
+		</td>
+	</tr>
+	<tr>
+		<td class="label">Last Name:</td>
+		<td>
+			<asp:textbox id="txtLastName" CssClass="textBox" runat="server" columns="30" maxlength="80" />
+			<asp:requiredfieldvalidator id="valLastName" runat="server" controltovalidate="txtLastName" errormessage="Please enter last name."
+				enableclientscript="False" />
+		</td>
+	</tr>
+	<tr>
+		<td class="label">Street Address:</td>
+		<td>
+			<asp:textbox id="txtAddress1" CssClass="textBox" runat="server" columns="55" maxlength="80" />
+			<asp:requiredfieldvalidator id="valAddress1" runat="server" controltovalidate="txtAddress1" errormessage="Please enter street address."
+				enableclientscript="False" />
+		</td>
+	</tr>
+	<tr>
+		<td></td>
+		<td>
+			<asp:textbox id="txtAddress2" CssClass="textBox" runat="server" columns="55" maxlength="80" />
+		</td>
+	</tr>
+	<tr>
+		<td class="label">City:</td>
+		<td>
+			<asp:textbox id="txtCity" CssClass="textBox" runat="server" columns="55" maxlength="80" />
+			<asp:requiredfieldvalidator id="valCity" runat="server" controltovalidate="txtCity" errormessage="Please enter city."
+				enableclientscript="False" />
+		</td>
+	</tr>
+	<tr>
+		<td class="label">State / Province:</td>
+		<td>
+			<table cellpadding="0" cellspacing="0">
+				<tr>
+					<td>
+						<asp:dropdownlist id="listState" CssClass="select" runat="server">
+							<asp:listitem>California</asp:listitem>
+							<asp:listitem>New York</asp:listitem>
+							<asp:listitem>Texas</asp:listitem>
+						</asp:dropdownlist>
+					</td>
+					<td class="label" width="100">Postal Code:</td>
+					<td>
+						<asp:textbox CssClass="textBox" id="txtZip" runat="server" columns="12" maxlength="20" />
+						<asp:requiredfieldvalidator id="valZip" runat="server" controltovalidate="txtZip" errormessage="Please enter postal code."
+							enableclientscript="False" />
+					</td>
+				</tr>
+			</table>
+		</td>
+	</tr>
+	<tr>
+		<td class="label">Country:</td>
+		<td>
+			<asp:dropdownlist id="listCountry" CssClass="select" runat="server">
+				<asp:listitem>USA</asp:listitem>
+				<asp:listitem>Canada</asp:listitem>
+				<asp:listitem>Japan</asp:listitem>
+			</asp:dropdownlist>
+		</td>
+	</tr>
+	<tr>
+		<td class="label">Telephone Number:</td>
+		<td>
+			<asp:textbox id="txtPhone" CssClass="textBox" runat="server" columns="20" maxlength="20" />
+			<asp:requiredfieldvalidator id="valPhone" runat="server" controltovalidate="txtPhone" errormessage="Please enter telephone number."
+				enableclientscript="False" />
+		</td>
+	</tr>
+</table>

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressUI.ascx.cs
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressUI.ascx.cs?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressUI.ascx.cs (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressUI.ascx.cs Sun Jun 19 07:45:17 2005
@@ -0,0 +1,100 @@
+namespace NPetshop.Web.UserControls.Accounts
+{
+	using System;
+	using System.Data;
+	using System.Drawing;
+	using System.Web;
+	using System.Web.UI.WebControls;
+	using System.Web.UI.HtmlControls;
+
+	using NPetshop.Domain.Accounts;
+
+	/// <summary>
+	///		Summary description for AddressUI.
+	/// </summary>
+	public class AddressUI : NPetshopUC
+	{
+		protected System.Web.UI.WebControls.TextBox txtFirstName;
+		protected System.Web.UI.WebControls.RequiredFieldValidator valFirstName;
+		protected System.Web.UI.WebControls.TextBox txtLastName;
+		protected System.Web.UI.WebControls.RequiredFieldValidator valLastName;
+		protected System.Web.UI.WebControls.TextBox txtAddress1;
+		protected System.Web.UI.WebControls.RequiredFieldValidator valAddress1;
+		protected System.Web.UI.WebControls.TextBox txtAddress2;
+		protected System.Web.UI.WebControls.TextBox txtCity;
+		protected System.Web.UI.WebControls.RequiredFieldValidator valCity;
+		protected System.Web.UI.WebControls.DropDownList listState;
+		protected System.Web.UI.WebControls.TextBox txtZip;
+		protected System.Web.UI.WebControls.RequiredFieldValidator valZip;
+		protected System.Web.UI.WebControls.DropDownList listCountry;
+		protected System.Web.UI.WebControls.TextBox txtPhone;
+		protected System.Web.UI.WebControls.RequiredFieldValidator valPhone;
+
+		public Address Address
+		{
+			get
+			{
+				Address address = new Address();
+
+				address.FirstName = txtFirstName.Text ;
+				address.LastName = txtLastName.Text;
+				address.Address1 = txtAddress1.Text;
+				address.Address2 = txtAddress2.Text;
+				address.City = txtCity.Text;
+				address.Zip = txtZip.Text;
+				address.State = listState.SelectedItem.Value;
+				address.Country = listCountry.SelectedItem.Value;	
+				address.Phone = txtPhone.Text;
+
+				return address;
+			} 
+			set
+			{
+				txtFirstName.Text = value.FirstName;
+				txtLastName.Text = value.LastName;
+				txtAddress1.Text = value.Address1;
+				txtAddress2.Text = value.Address2;
+				txtCity.Text = value.City;
+				txtZip.Text = value.Zip;
+				SetSelectedItem(listState, value.State);
+				SetSelectedItem(listCountry, value.Country);
+				txtPhone.Text = value.Phone;
+			}
+		}
+
+		private void SetSelectedItem(DropDownList list, string value)
+		{
+			ListItem item = list.Items.FindByValue(value);
+			if (item != null)
+			{
+				item.Selected = true;
+			}
+		}
+
+		private void Page_Load(object sender, System.EventArgs e)
+		{
+			this.SetFocus(txtFirstName);
+		}
+
+		#region Web Form Designer generated code
+		override protected void OnInit(EventArgs e)
+		{
+			//
+			// CODEGEN: This call is required by the ASP.NET Web Form Designer.
+			//
+			InitializeComponent();
+			base.OnInit(e);
+		}
+		
+		/// <summary>
+		///		Required method for Designer support - do not modify
+		///		the contents of this method with the code editor.
+		/// </summary>
+		private void InitializeComponent()
+		{
+			this.Load += new System.EventHandler(this.Page_Load);
+
+		}
+		#endregion
+	}
+}

Added: ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressUI.ascx.resx
URL: http://svn.apache.org/viewcvs/ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressUI.ascx.resx?rev=191346&view=auto
==============================================================================
--- ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressUI.ascx.resx (added)
+++ ibatis/trunk/cs/npetshop2/NPetshop.Web/UserControls/Accounts/AddressUI.ascx.resx Sun Jun 19 07:45:17 2005
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 1.3
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">1.3</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1">this is my long string</data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        [base64 mime encoded serialized .NET Framework object]
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        [base64 mime encoded string representing a byte array form of the .NET Framework object]
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used forserialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>1.3</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="$this.TrayAutoArrange" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </data>
+</root>
\ No newline at end of file