Mercurial > silverbladetech
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Chronosv2/source/Views/Login.xaml.cs Tue Feb 21 17:25:44 2012 +0700 @@ -0,0 +1,29 @@ +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 + } +}