ProjetThe/ProjetTheAlone/View/FicEvenementEncode.xaml.cs

65 lines
1.5 KiB
C#

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.Shapes;
namespace ProjetTheAlone.View
{
/// <summary>
/// Logique d'interaction pour FicEvenementEncode.xaml
/// </summary>
public partial class FicEvenementEncode : Window
{
public FicEvenementEncode()
{
InitializeComponent();
DataContext = new ViewModel.VM_Event();
}
private void btnQuitter_Click(object sender, RoutedEventArgs e)
{
Close();
}
private void btnNewTypeEvent_Click(object sender, RoutedEventArgs e)
{
FicNewtypeEvent w = new FicNewtypeEvent();
w.ShowDialog();
}
private void btnNewLieu_Click(object sender, RoutedEventArgs e)
{
FicNewLieu w = new FicNewLieu();
w.ShowDialog();
}
private void btnAjoutEquipe_Click(object sender, RoutedEventArgs e)
{
FicNewEquipe w = new FicNewEquipe();
w.ShowDialog();
}
private void btnDetail_Click(object sender, RoutedEventArgs e)
{
FicDetailEvent w = new FicDetailEvent();
w.ShowDialog();
}
}
}