Mercurial > silverbladetech
diff Chronosv2/source/Modules/Sample/Views/EmpresaView.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/Modules/Sample/Views/EmpresaView.xaml.cs Tue Feb 21 17:25:44 2012 +0700 @@ -0,0 +1,44 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; +using Chronos.Modules.Navigation; +using Chronos.Modules.Sample.ViewModels; +using Chronos.Presentation.Core.ViewModel; +using Chronos.Presentation.Windows.Controls; +using nRoute.Components.Composition; +using nRoute.Navigation.Mapping; +using nRoute.ViewModels; + +namespace Chronos.Modules.Sample.Views +{ + /// <summary> + /// Interaction logic for EmpresaView.xaml + /// </summary> + [MapNavigationContent(NavigationRoutes.Companies)] + [DefineViewViewModel(typeof(EmpresaView), typeof(EmpresaViewModel))] + public partial class EmpresaView + : WindowElement + { + #region · Constructors · + + [ResolveConstructor] + public EmpresaView([ResolveViewModel(typeof(EmpresaView))]INavigationViewModel viewModel) + { + InitializeComponent(); + + this.DataContext = viewModel; + } + + #endregion + } +}