You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.1 KiB
44 lines
1.1 KiB
using ParionsCuite.Modeles;
|
|
using ParionsCuite.Views.Participations;
|
|
|
|
namespace ParionsCuite.Views.Participations;
|
|
|
|
public partial class Nourriture : ContentView
|
|
{
|
|
public Manageur mgr => (App.Current as App).MyManager;
|
|
|
|
Evenement EventSelect;
|
|
public Nourriture(Evenement EventSelect)
|
|
{
|
|
InitializeComponent();
|
|
this.EventSelect = EventSelect;
|
|
}
|
|
|
|
private void NourritureView(object sender, EventArgs e)
|
|
{
|
|
if (EventSelect == null) { return; }
|
|
|
|
var newPage = new Views.Participations.NewFolder1.Nourri(EventSelect);
|
|
|
|
changeButton.Content = newPage;
|
|
}
|
|
|
|
private void BoissonView(object sender, EventArgs e)
|
|
{
|
|
if (EventSelect == null) { return; }
|
|
|
|
var newPage = new Views.Participations.NewFolder1.Nourri(EventSelect);
|
|
|
|
changeButton.Content = newPage;
|
|
}
|
|
|
|
private void AutreView(object sender, EventArgs e)
|
|
{
|
|
if (EventSelect == null) { return; }
|
|
|
|
var newPage = new Views.Participations.NewFolder1.Nourri(EventSelect);
|
|
|
|
changeButton.Content = newPage;
|
|
}
|
|
}
|