Click here to Skip to main content
Click here to Skip to main content

MVVM # Episode 1

By , 7 Feb 2013
 
MVVMSharp_Code.zip
CustomerMaintenance
Controllers
Base Classes
bin
Release
Controllers.csproj.vs10x
Properties
CustomerMaintenance
bin
Debug
CustomerMaintenance.vshost.exe
CustomerMaintenance.vshost.exe.manifest
Release
CustomerMaintenance.csproj.user
CustomerMaintenance.csproj.vs10x
Properties
Settings.settings
Messengers
bin
Release
Messengers.csproj.vs10x
Properties
Model
bin
Debug
Release
Models.csproj.vs10x
Properties
Service
bin
Release
Properties
Services.csproj.vs10x
ViewModel
BaseClasses
bin
Release
Properties
ViewData
ViewModels.csproj.vs10x
Views
Base Classes
bin
Release
Converters
DesignTimeData
Properties
Settings.settings
Views.csproj.vs10x
using ViewModels;

namespace Views
{
    class DesignTimeCustomerEditViewModel : CustomerEditViewModel
    {
        public DesignTimeCustomerEditViewModel()
        {
            ViewData = new CustomerEditViewData()
            {
                Address = "23 Netherington on Wallop Street",
                CustomerId = 123,
                Email = "Oldhag@GeeMail.Com",
                Name = "Betty Boop",
                Phone = "0414 4142424",
                PostCode = "4540",
                State = "QLD",
                Suburb = "Indooroopilly"
            };
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of use and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

_Maxxx_
Software Developer (Senior)
Australia Australia
Member
Software developer par excellence,sometime artist, teacher, musician, husband, father and half-life 2 player (in no particular order either of preference or ability)

Permalink | Advertise | Privacy | Mobile
Web03 | 2.6.130516.1 | Last Updated 7 Feb 2013
Article Copyright 2011 by _Maxxx_
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid