view Chronosv2/source/Views/About.xaml.cs @ 10:443821e55f06

Initial cleaned up add from Codeplex files
author stevenh7776 stevenhollidge@hotmail.com
date Tue, 21 Feb 2012 17:25:44 +0700
parents
children
line wrap: on
line source

using Chronos.Modules.Navigation;
using Chronos.Presentation.Core.ViewModel;
using Chronos.Presentation.Windows.Controls;
using Chronos.ViewModel;
using nRoute.Components.Composition;
using nRoute.Navigation.Mapping;
using nRoute.ViewModels;

namespace Chronos.Views
{
    /// <summary>
    /// Interaction logic for About.xaml
    /// </summary>
    [MapNavigationContent(NavigationRoutes.About)]
    [DefineViewViewModel(typeof(About), typeof(AboutViewModel))] 
    public partial class About : WindowElement
    {
        [ResolveConstructor]
        public About([ResolveViewModel(typeof(About))]INavigationViewModel viewModel)
        {
            InitializeComponent();

            this.DataContext = viewModel;
        }
    }
}