diff --git a/ProjetTheAlone/App.xaml b/ProjetTheAlone/App.xaml index ade0a6d..d655dbc 100644 --- a/ProjetTheAlone/App.xaml +++ b/ProjetTheAlone/App.xaml @@ -4,6 +4,13 @@ xmlns:local="clr-namespace:ProjetTheAlone" StartupUri="MainWindow.xaml"> - + + + + + + + + diff --git a/ProjetTheAlone/MainWindow.xaml b/ProjetTheAlone/MainWindow.xaml index 98749fa..aede272 100644 --- a/ProjetTheAlone/MainWindow.xaml +++ b/ProjetTheAlone/MainWindow.xaml @@ -5,8 +5,18 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:ProjetTheAlone" mc:Ignorable="d" - Title="MainWindow" Height="450" Width="800"> + Title="MainWindow" Height="450" Width="800" + xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" + TextElement.Foreground="{DynamicResource MaterialDesignBody}" + TextElement.FontWeight="Regular" + TextElement.FontSize="13" + TextOptions.TextFormattingMode="Ideal" + TextOptions.TextRenderingMode="Auto" + Background="{DynamicResource MaterialDesignPaper}" + FontFamily="{DynamicResource MaterialDesignFont}"> - + + My First Material Design App + diff --git a/ProjetTheAlone/MainWindow.xaml.cs b/ProjetTheAlone/MainWindow.xaml.cs index b67276a..cf3a091 100644 --- a/ProjetTheAlone/MainWindow.xaml.cs +++ b/ProjetTheAlone/MainWindow.xaml.cs @@ -12,13 +12,14 @@ using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; +using MahApps.Metro.Controls; namespace ProjetTheAlone { /// /// Interaction logic for MainWindow.xaml /// - public partial class MainWindow : Window + public partial class MainWindow : MetroWindow { public MainWindow() { diff --git a/ProjetTheAlone/ProjetTheAlone.csproj b/ProjetTheAlone/ProjetTheAlone.csproj index 32df838..c136add 100644 --- a/ProjetTheAlone/ProjetTheAlone.csproj +++ b/ProjetTheAlone/ProjetTheAlone.csproj @@ -34,8 +34,20 @@ 4 + + ..\packages\ControlzEx.3.0.2.4\lib\net45\ControlzEx.dll + + + ..\packages\MaterialDesignColors.1.1.1\lib\net45\MaterialDesignColors.dll + + + ..\packages\MaterialDesignThemes.2.5.0.1205\lib\net45\MaterialDesignThemes.Wpf.dll + + + ..\packages\ControlzEx.3.0.2.4\lib\net45\System.Windows.Interactivity.dll + @@ -85,6 +97,7 @@ ResXFileCodeGenerator Resources.Designer.cs + SettingsSingleFileGenerator Settings.Designer.cs diff --git a/ProjetTheAlone/packages.config b/ProjetTheAlone/packages.config new file mode 100644 index 0000000..a1b60df --- /dev/null +++ b/ProjetTheAlone/packages.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file