view Chronosv2/source/Views/Login.xaml.cs @ 12:6a0449185449

SCC changed from TFS to HG
author stevenh7776 stevenhollidge@hotmail.com
date Tue, 21 Feb 2012 17:47:35 +0700
parents 443821e55f06
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
    }
}