Exemple #1
0
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     view = e.Parameter as viewModel;//?? new viewModel();
 }
 public MainWindow()
 {
     view             = new ViewModel.viewModel();
     this.DataContext = view;
     InitializeComponent();
 }
Exemple #3
0
 public MainPage()
 {
     view = new ViewModel.viewModel();
     this.InitializeComponent();
 }