classes pour mvp
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
using JeuHoy_WPF_Natif.Model;
|
||||
using JeuHoy_WPF_Natif.View;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace JeuHoy_WPF_Natif.Presenter
|
||||
{
|
||||
/// <summary>
|
||||
/// Description: Permet de gérer les événements de la vue Entrainement et de les aiguiller
|
||||
/// </summary>
|
||||
public class PresentateurWEntrainement
|
||||
{
|
||||
private IwEntrainement _vue;
|
||||
private GestionWEntrainement _gestionnaire;
|
||||
|
||||
public PresentateurWEntrainement(IwEntrainement vue)
|
||||
{
|
||||
_vue = vue;
|
||||
_gestionnaire = new GestionWEntrainement();
|
||||
_vue.EntrainementEvt += _vue_EntrainementEvt;
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void _vue_EntrainementEvt(object sender, EventArgs e)
|
||||
{
|
||||
// Perceptron!!!
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user