﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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;

namespace LV_Calculator
{
    /// <summary>
    /// Logique d'interaction pour MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        // VAR
        public bool changement;


        
        // CONSTRUCT
        public MainWindow()
        {
            InitializeComponent();

            changement = false;
        }



        // METHOD
        public bool VerifierChangement()
        {
            if (changement)
            {
                return false;
            }
            else
            {
                return true;
            }
        }



        // EVENT
        private void menuQuitter_Click(object sender, RoutedEventArgs e)
        {
            if (VerifierChangement())
                Close();
        }

        private void menuConnexion_Click(object sender, RoutedEventArgs e)
        {

        }
    }
}
