Esempio n. 1
0
        private void OnStartUp(object sender, StartupEventArgs e)
        {
            Views.MainWindow         view          = new Views.MainWindow();
            ViewModels.MainViewModel mainViewModel = new ViewModels.MainViewModel();
            view.DataContext = mainViewModel;

            view.Show();
        }
        private void OnStartUp(object sender, StartupEventArgs e)
        {
            Views.MainWindow view = new Views.MainWindow();
            ViewModels.MainViewModel mainViewModel = new ViewModels.MainViewModel();
            view.DataContext = mainViewModel;

            view.Show(); 
        }