Reeezer_Ticket-to-ride/App.xaml.cs
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using Ticket_to_ride.Stores;
using Ticket_to_ride.View;
using Ticket_to_ride.ViewModel;

namespace Ticket_to_ride
{
    /// <summary>
    /// Logique d'interaction pour App.xaml
    /// </summary>
    public partial class App : Application
    {
        protected override void OnStartup(StartupEventArgs e)
        {
            NavigationStore.GetInstance().CurrentViewModel = new MenuViewModel();

            MainWindow = new MainWindow()
            {
                DataContext = new MainViewModel()
            };
            MainWindow.Show();

            base.OnStartup(e);
        }
    }
}
