Dossiers
Before Width: | Height: | Size: 917 B |
Before Width: | Height: | Size: 76 KiB |
@ -1,8 +1,8 @@
|
||||
<Application x:Class="JeuHoy_WPF.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:JeuHoy_WPF"
|
||||
StartupUri="wEntree.xaml">
|
||||
xmlns:local="clr-namespace:JeuHoy_WPF.View"
|
||||
StartupUri="View/wEntree.xaml">
|
||||
<Application.Resources>
|
||||
|
||||
</Application.Resources>
|
||||
|
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 64 KiB |
@ -59,23 +59,23 @@
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Compile Include="AssemblyInfo.cs" />
|
||||
<Compile Include="CstApplication.cs" />
|
||||
<Compile Include="JouerMp3.cs" />
|
||||
<Compile Include="JouerSon.cs" />
|
||||
<Compile Include="Model\CstApplication.cs" />
|
||||
<Compile Include="Presenter\JouerMp3.cs" />
|
||||
<Compile Include="Presenter\JouerSon.cs" />
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="wAide.xaml.cs">
|
||||
<Compile Include="View\wAide.xaml.cs">
|
||||
<DependentUpon>wAide.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="wEntrainement.xaml.cs">
|
||||
<Compile Include="View\wEntrainement.xaml.cs">
|
||||
<DependentUpon>wEntrainement.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="wEntree.xaml.cs">
|
||||
<Compile Include="View\wEntree.xaml.cs">
|
||||
<DependentUpon>wEntree.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="wJeu.xaml.cs">
|
||||
<Compile Include="View\wJeu.xaml.cs">
|
||||
<DependentUpon>wJeu.xaml</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
@ -107,8 +107,6 @@
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="JouerHoy.png" />
|
||||
<Resource Include="téléchargement.jpg" />
|
||||
<Resource Include="Resources\fondjeu.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Resource>
|
||||
@ -154,13 +152,6 @@
|
||||
<Resource Include="HoyContent\Game.ico">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Resource>
|
||||
<Resource Include="edit_undo.png" />
|
||||
<Resource Include="FondEntree.png" />
|
||||
<Resource Include="Entrainement.png" />
|
||||
<Resource Include="Aide.png" />
|
||||
<Resource Include="AideTuto.png" />
|
||||
<Resource Include="fond.png" />
|
||||
<Resource Include="fondjeu.png" />
|
||||
<Content Include="HoyContent\hooy.wav">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
@ -180,19 +171,19 @@
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Resource>
|
||||
<Resource Include="HoyContent\téléchargement.jpg">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Resource>
|
||||
<Content Include="HoyContent\zik.wav">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Resource Include="Resources\Actions-application-exit-icon.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Resource>
|
||||
<Resource Include="Resources\Aide.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Resource>
|
||||
<Resource Include="Resources\AideDessus.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Resource>
|
||||
<Resource Include="Resources\AideDessus1234.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
@ -270,23 +261,23 @@
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Resource>
|
||||
<Resource Include="Resources\téléchargement.jpg">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Resource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Page Include="wAide.xaml">
|
||||
<Page Include="View\wAide.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="wEntrainement.xaml">
|
||||
<Page Include="View\wEntrainement.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="wEntree.xaml">
|
||||
<Page Include="View\wEntree.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="wJeu.xaml">
|
||||
<Page Include="View\wJeu.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
|
Before Width: | Height: | Size: 880 B |
@ -1,14 +1,14 @@
|
||||
<Window x:Class="JeuHoy_WPF.wAide"
|
||||
<Window x:Class="JeuHoy_WPF.View.wAide"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:JeuHoy_WPF"
|
||||
mc:Ignorable="d"
|
||||
Title="Jeu Hoy" Height="450" Width="800" WindowState="Maximized" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" Icon="/téléchargement.jpg">
|
||||
Title="Jeu Hoy" Height="450" Width="800" WindowState="Maximized" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" Icon="/Resources/téléchargement.jpg">
|
||||
<Grid>
|
||||
<Grid.Background>
|
||||
<ImageBrush ImageSource="/AideTuto.png"/>
|
||||
<ImageBrush ImageSource="/Resources/AideTuto.png"/>
|
||||
</Grid.Background>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*"/>
|
||||
@ -24,7 +24,7 @@
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Image x:Name="image" Grid.Column="0" Grid.Row="4" Margin="30,0,0,0" Source="/edit_undo.png" MouseEnter="picRetour_MouseHover" MouseLeave="picRetour_MouseLeave" MouseLeftButtonDown="picRetour_Click"/>
|
||||
<Image x:Name="image" Grid.Column="0" Grid.Row="4" Margin="30,0,0,0" Source="/Resources/edit_undo.png" MouseEnter="picRetour_MouseHover" MouseLeave="picRetour_MouseLeave" MouseLeftButtonDown="picRetour_Click"/>
|
||||
|
||||
</Grid>
|
||||
</Window>
|
@ -12,7 +12,7 @@ using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace JeuHoy_WPF
|
||||
namespace JeuHoy_WPF.View
|
||||
{
|
||||
/// <summary>
|
||||
/// Auteur: Hugo St-Louis
|
@ -1,4 +1,4 @@
|
||||
<Window x:Class="JeuHoy_WPF.wEntrainement"
|
||||
<Window x:Class="JeuHoy_WPF.View.wEntrainement"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
@ -6,10 +6,10 @@
|
||||
xmlns:local="clr-namespace:JeuHoy_WPF"
|
||||
mc:Ignorable="d"
|
||||
|
||||
Title="Jeu Hoy" Height="1024" Width="1368" WindowState="Maximized" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" Icon="/téléchargement.jpg">
|
||||
Title="Jeu Hoy" Height="1024" Width="1368" WindowState="Maximized" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" Icon="/Resources/téléchargement.jpg">
|
||||
<Grid>
|
||||
<Grid.Background>
|
||||
<ImageBrush ImageSource="/fond.png"/>
|
||||
<ImageBrush ImageSource="/Resources/fond.png"/>
|
||||
</Grid.Background>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="300"/>
|
||||
@ -22,7 +22,7 @@
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Canvas x:Name="pDessinSquelette" HorizontalAlignment="Left" Grid.Column="0" Grid.Row="0" Height="300px" Margin="0,0,0,0" VerticalAlignment="Top" Width="300px" Background="Black"/>
|
||||
<Image x:Name="picKinect" HorizontalAlignment="Left" Grid.Column="0" Grid.Row="1" Height="300px" Margin="0,0,0,0" VerticalAlignment="Top" Width="300px" Grid.RowSpan="2" Source="/téléchargement.jpg" />
|
||||
<Image x:Name="picKinect" HorizontalAlignment="Left" Grid.Column="0" Grid.Row="1" Height="300px" Margin="0,0,0,0" VerticalAlignment="Top" Width="300px" Grid.RowSpan="2" Source="/Resources/téléchargement.jpg" />
|
||||
<TextBox x:Name="txtConsole" HorizontalAlignment="Center" Margin="0,0,0,0" Grid.Row="2" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="300" Height="300" Grid.RowSpan="2"/>
|
||||
<Image x:Name="picPositionAFaire" Grid.Column="1" HorizontalAlignment="Left" Height="822" VerticalAlignment="Top" Width="828" Grid.RowSpan="3"/>
|
||||
|
||||
@ -40,7 +40,7 @@
|
||||
<Button x:Name="btnSuivant" Grid.Column="0" Grid.Row="0" Content="Suivant" HorizontalAlignment="Left" VerticalAlignment="Top" Height="38" Width="85" Click="btnClickChangerFigure_Click"/>
|
||||
<Button x:Name="btnPrecedent" Grid.Column="1" Grid.Row="0" Content="Précédent" HorizontalAlignment="Center" Width="85" Click="btnClickChangerFigure_Click" Margin="0,0,0,7"/>
|
||||
<Button x:Name="btnApprendre" Grid.Column="2" Grid.Row="0" Content="Apprendre" HorizontalAlignment="Left" VerticalAlignment="Top" Height="38" Width="85" Click="btnApprendre_Click"/>
|
||||
<Image x:Name="imgRetour" Grid.Column="0" Grid.Row="1" Source="/edit_undo.png" MouseEnter="picRetour_MouseHover" MouseLeave="picRetour_MouseLeave" MouseLeftButtonDown="picRetour_Click"/>
|
||||
<Image x:Name="imgRetour" Grid.Column="0" Grid.Row="1" Source="/Resources/edit_undo.png" MouseEnter="picRetour_MouseHover" MouseLeave="picRetour_MouseLeave" MouseLeftButtonDown="picRetour_Click"/>
|
||||
|
||||
<Label x:Name="lblFigureEnCours" Grid.Column="1" Grid.Row="1" Content="1" HorizontalAlignment="Right" VerticalAlignment="Top" FontFamily="Matura MT Script Capitals" FontSize="50" />
|
||||
<Label x:Name="lblNbPositions" Grid.Column="2" Grid.Row="1" Content=" / 10" HorizontalAlignment="Right" VerticalAlignment="Top" FontFamily="Matura MT Script Capitals" FontSize="50" />
|
@ -10,7 +10,7 @@ using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace JeuHoy_WPF
|
||||
namespace JeuHoy_WPF.View
|
||||
{
|
||||
/// <summary>
|
||||
/// Auteur: Hugo St-Louis
|
@ -1,14 +1,14 @@
|
||||
<Window x:Class="JeuHoy_WPF.wEntree"
|
||||
<Window x:Class="JeuHoy_WPF.View.wEntree"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:JeuHoy_WPF"
|
||||
mc:Ignorable="d"
|
||||
Title="Jeu Hoy" Height="450" Width="800" WindowState="Maximized" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" Closing="Window_Closing" Icon="/téléchargement.jpg">
|
||||
Title="Jeu Hoy" Height="450" Width="800" WindowState="Maximized" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" Closing="Window_Closing" Icon="/Resources/téléchargement.jpg">
|
||||
<Grid>
|
||||
<Grid.Background>
|
||||
<ImageBrush ImageSource="/FondEntree.png"/>
|
||||
<ImageBrush ImageSource="/Resources/FondEntree.png"/>
|
||||
</Grid.Background>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*"/>
|
||||
@ -23,9 +23,9 @@
|
||||
<ColumnDefinition Width="*"/>
|
||||
<ColumnDefinition Width="*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Image x:Name="picJouer" Grid.Column="1" Grid.Row="4" Margin="5" Source="/JouerHoy.png" HorizontalAlignment="Center" VerticalAlignment="Center" Stretch="Uniform" MouseLeftButtonDown="picJouer_MouseLeftButtonDown" MouseEnter="pic_MouseHover" MouseLeave="pic_MouseLeave"/>
|
||||
<Image x:Name="picEntrainement" Grid.Column="2" Grid.Row="4" Margin="5" Source="/Entrainement.png" HorizontalAlignment="Center" VerticalAlignment="Center" Stretch="Uniform" MouseLeftButtonDown="picEntrainement_MouseLeftButtonDown" MouseEnter="pic_MouseHover" MouseLeave="pic_MouseLeave"/>
|
||||
<Image x:Name="picAide" Grid.Column="3" Margin="5" Grid.Row="4" Source="/Aide.png" HorizontalAlignment="Center" VerticalAlignment="Center" Stretch="Uniform" MouseEnter="pic_MouseHover" MouseLeftButtonDown="picAide_MouseLeftButtonDown" MouseLeave="pic_MouseLeave"/>
|
||||
<Image x:Name="picJouer" Grid.Column="1" Grid.Row="4" Margin="5" Source="/Resources/JouerHoy.png" HorizontalAlignment="Center" VerticalAlignment="Center" Stretch="Uniform" MouseLeftButtonDown="picJouer_MouseLeftButtonDown" MouseEnter="pic_MouseHover" MouseLeave="pic_MouseLeave"/>
|
||||
<Image x:Name="picEntrainement" Grid.Column="2" Grid.Row="4" Margin="5" Source="/Resources/Entrainement.png" HorizontalAlignment="Center" VerticalAlignment="Center" Stretch="Uniform" MouseLeftButtonDown="picEntrainement_MouseLeftButtonDown" MouseEnter="pic_MouseHover" MouseLeave="pic_MouseLeave"/>
|
||||
<Image x:Name="picAide" Grid.Column="3" Margin="5" Grid.Row="4" Source="/Resources/Aide.png" HorizontalAlignment="Center" VerticalAlignment="Center" Stretch="Uniform" MouseEnter="pic_MouseHover" MouseLeftButtonDown="picAide_MouseLeftButtonDown" MouseLeave="pic_MouseLeave"/>
|
||||
</Grid>
|
||||
|
||||
</Window>
|
@ -13,7 +13,7 @@ using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace JeuHoy_WPF
|
||||
namespace JeuHoy_WPF.View
|
||||
{
|
||||
/// <summary>
|
||||
/// Auteur: Hugo St-Louis
|
||||
@ -109,17 +109,17 @@ namespace JeuHoy_WPF
|
||||
Image p = (Image)sender;
|
||||
if (p.Name == "picJouer")
|
||||
{
|
||||
Uri uriSource = new Uri(AppDomain.CurrentDomain.BaseDirectory + @"Resources/JouerDessus.png", UriKind.Absolute);
|
||||
Uri uriSource = new Uri(AppDomain.CurrentDomain.BaseDirectory + @"./Resources/JouerDessus.png", UriKind.Absolute);
|
||||
picJouer.Source = new BitmapImage(uriSource);
|
||||
}
|
||||
else if (p.Name == "picEntrainement")
|
||||
{
|
||||
Uri uriSource = new Uri(AppDomain.CurrentDomain.BaseDirectory + @"\Resources\EntrainementDessus.png", UriKind.Absolute);
|
||||
Uri uriSource = new Uri(AppDomain.CurrentDomain.BaseDirectory + @"/Resources\EntrainementDessus.png", UriKind.Absolute);
|
||||
picEntrainement.Source = new BitmapImage(uriSource);
|
||||
}
|
||||
else if (p.Name == "picAide")
|
||||
{
|
||||
Uri uriSource = new Uri(AppDomain.CurrentDomain.BaseDirectory + @"./Resources/AideDessus.png", UriKind.Absolute);
|
||||
Uri uriSource = new Uri(AppDomain.CurrentDomain.BaseDirectory + @"/Resources/AideDessus.png", UriKind.Absolute);
|
||||
picAide.Source = new BitmapImage(uriSource);
|
||||
}
|
||||
}
|
@ -1,16 +1,16 @@
|
||||
<Window x:Class="JeuHoy_WPF.wJeu"
|
||||
<Window x:Class="JeuHoy_WPF.View.wJeu"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:JeuHoy_WPF"
|
||||
mc:Ignorable="d"
|
||||
Title="Jeu Hoy" Height="450" Width="800" WindowState="Maximized" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" Icon="/téléchargement.jpg">
|
||||
Title="Jeu Hoy" Height="450" Width="800" WindowState="Maximized" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" Icon="/Resources/téléchargement.jpg">
|
||||
|
||||
|
||||
<Grid>
|
||||
<Grid.Background>
|
||||
<ImageBrush ImageSource="/fondjeu.png"/>
|
||||
<ImageBrush ImageSource="/Resources/fondjeu.png"/>
|
||||
</Grid.Background>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*"/>
|
@ -12,7 +12,7 @@ using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace JeuHoy_WPF
|
||||
namespace JeuHoy_WPF.View
|
||||
{
|
||||
/// <summary>
|
||||
/// Logique d'interaction pour wJeu.xaml
|
Before Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 6.1 KiB |