diff --git a/Interfaces/Interfaces/Interfaces.csproj b/Interfaces/Interfaces/Interfaces.csproj index 420c7db..995e346 100644 --- a/Interfaces/Interfaces/Interfaces.csproj +++ b/Interfaces/Interfaces/Interfaces.csproj @@ -8,13 +8,16 @@ - + Never - + Never - + + Never + + Never diff --git a/Interfaces/Interfaces/MainWindow.xaml b/Interfaces/Interfaces/MainWindow.xaml index a022125..0314682 100644 --- a/Interfaces/Interfaces/MainWindow.xaml +++ b/Interfaces/Interfaces/MainWindow.xaml @@ -6,7 +6,12 @@ xmlns:local="clr-namespace:Interfaces" mc:Ignorable="d" Title="SoundBox" Height="450" Width="800"> - + + + + + + @@ -21,16 +26,12 @@ VerticalAlignment="Stretch" Orientation="Vertical"> - - - - - - + - + @@ -38,7 +39,7 @@ - + diff --git a/Interfaces/Interfaces/MainWindow.xaml.cs b/Interfaces/Interfaces/MainWindow.xaml.cs index 99fd6bd..fa23121 100644 --- a/Interfaces/Interfaces/MainWindow.xaml.cs +++ b/Interfaces/Interfaces/MainWindow.xaml.cs @@ -18,12 +18,20 @@ namespace Interfaces private void ButtonDesert_Click(object sender, RoutedEventArgs e) { ImageNature.Source = new BitmapImage(new Uri("/Resources/images/desert.png", UriKind.Relative)); + PanelMenu.Background = (Brush)TryFindResource("DesertBackgroundColor"); } private void ButtonForest_Click(object sender, RoutedEventArgs e) { ImageNature.Source = new BitmapImage(new Uri("/Resources/images/forest.png", UriKind.Relative)); + PanelMenu.Background = (Brush)TryFindResource("ForestBackgroundColor"); + } + + private void ButtonSea_Click(object sender, RoutedEventArgs e) + { + ImageNature.Source = new BitmapImage(new Uri("/Resources/images/sea.png", UriKind.Relative)); + PanelMenu.Background = (Brush)TryFindResource("SeaBackgroundColor"); } } } diff --git a/Interfaces/Interfaces/Resources/images/sea.png b/Interfaces/Interfaces/Resources/images/sea.png new file mode 100644 index 0000000..b357ef1 Binary files /dev/null and b/Interfaces/Interfaces/Resources/images/sea.png differ diff --git a/Interfaces/Interfaces/Resources/images/sea2.png b/Interfaces/Interfaces/Resources/images/sea2.png new file mode 100644 index 0000000..33bb752 Binary files /dev/null and b/Interfaces/Interfaces/Resources/images/sea2.png differ