It's trainin' time.

This commit is contained in:
MarcEricMartel
2023-05-14 08:00:18 -04:00
parent 12d745d1b0
commit 2db47abee0
4 changed files with 21 additions and 5 deletions

View File

@@ -3,6 +3,7 @@ using JeuHoy_WPF_Natif.View;
using Microsoft.Kinect;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Windows;
@@ -42,6 +43,10 @@ namespace JeuHoy_WPF.View
_presentateur = new PresentateurWEntrainement(this);
for (int x = 1; x <= CstApplication.NBFIGURE; ++x)
if (File.Exists("HoyContent/fig" + x.ToString() + ".png"))
_dicImgFigure.Add("fig" + x, new BitmapImage(new Uri(AppDomain.CurrentDomain.BaseDirectory + @"./HoyContent/fig" + x.ToString() + ".png", UriKind.Absolute)));
ChargerFigure();
_son.JouerSonAsync(@"./HoyContent/hoy.wav");
}