view Chronosv2/source/Views/Login.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.Windows.Controls;
using Chronos.ViewModel;
using nRoute.Components.Composition;
using nRoute.Navigation.Mapping;
using nRoute.ViewModels;

namespace Chronos.Views
{
    /// <summary>
    /// Interaction logic for LoginView.xaml
    /// </summary>
    [MapNavigationContent(NavigationRoutes.Login)]
    [DefineViewViewModel(typeof(Login), typeof(LoginViewModel))] 
    public partial class Login : WindowElement
    {
        #region · Constructors ·

        [ResolveConstructor]
        public Login([ResolveViewModel(typeof(Login))]LoginViewModel viewModel)
        {
            InitializeComponent();

            this.DataContext = viewModel;
        }

        #endregion
    }
}