comparison 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
comparison
equal deleted inserted replaced
9:904a9faadf8b 10:443821e55f06
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using System.Windows;
6 using System.Windows.Controls;
7 using System.Windows.Data;
8 using System.Windows.Documents;
9 using System.Windows.Input;
10 using System.Windows.Media;
11 using System.Windows.Media.Imaging;
12 using System.Windows.Navigation;
13 using System.Windows.Shapes;
14 using Chronos.Modules.Navigation;
15 using Chronos.Modules.Sample.ViewModels;
16 using Chronos.Presentation.Core.ViewModel;
17 using Chronos.Presentation.Windows.Controls;
18 using nRoute.Components.Composition;
19 using nRoute.Navigation.Mapping;
20 using nRoute.ViewModels;
21
22 namespace Chronos.Modules.Sample.Views
23 {
24 /// <summary>
25 /// Interaction logic for EmpresaView.xaml
26 /// </summary>
27 [MapNavigationContent(NavigationRoutes.Companies)]
28 [DefineViewViewModel(typeof(EmpresaView), typeof(EmpresaViewModel))]
29 public partial class EmpresaView
30 : WindowElement
31 {
32 #region · Constructors ·
33
34 [ResolveConstructor]
35 public EmpresaView([ResolveViewModel(typeof(EmpresaView))]INavigationViewModel viewModel)
36 {
37 InitializeComponent();
38
39 this.DataContext = viewModel;
40 }
41
42 #endregion
43 }
44 }