lab-4 finished p.2
This commit is contained in:
parent
c7d5649035
commit
610b6d4b8c
@ -10,9 +10,6 @@
|
||||
<SolidColorBrush x:Key="ForestBackgroundColor" Color="Olive" />
|
||||
<SolidColorBrush x:Key="DesertBackgroundColor" Color="LightSalmon" />
|
||||
<SolidColorBrush x:Key="SeaBackgroundColor" Color="DarkCyan" />
|
||||
</Window.Resources>
|
||||
<Grid ShowGridLines="True">
|
||||
<Window.Resources>
|
||||
<SolidColorBrush x:Key="ButtonBackgroundColor" Color="Bisque" />
|
||||
<Style TargetType="Button">
|
||||
<Setter Property="Template">
|
||||
@ -30,35 +27,35 @@
|
||||
</Window.Resources>
|
||||
<Grid ShowGridLines="True">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*"></RowDefinition>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Border Background="LemonChiffon" BorderThickness="4,4,4,4"
|
||||
<RowDefinition Height="*"></RowDefinition>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||
</Grid.ColumnDefinitions>
|
||||
<Border Background="LemonChiffon" BorderThickness="4,4,4,4"
|
||||
BorderBrush="Goldenrod">
|
||||
<ScrollViewer CanContentScroll="True" VerticalScrollBarVisibility="Hidden">
|
||||
<StackPanel Grid.Row="0" Grid.Column="0" HorizontalAlignment="Center"
|
||||
<ScrollViewer CanContentScroll="True" VerticalScrollBarVisibility="Hidden">
|
||||
<StackPanel Grid.Row="0" Grid.Column="0" HorizontalAlignment="Center"
|
||||
VerticalAlignment="Stretch" Orientation="Vertical">
|
||||
<Button Margin="10,5,10,5" Padding="3,3,3,3" Click="ButtonForest_Click">Forest</Button>
|
||||
<Button Margin="10,5,10,5" Padding="3,3,3,3" Click="ButtonDesert_Click">Desert</Button>
|
||||
<Button Margin="10,5,10,5" Padding="3,3,3,3" Click="ButtonSea_Click">Sea</Button>
|
||||
</StackPanel>
|
||||
</ScrollViewer>
|
||||
</Border>
|
||||
<DockPanel Name="PanelMenu" Grid.Row="0" Grid.Column="1"
|
||||
<Button Margin="10,5,10,5" Padding="3,3,3,3" Click="ButtonForest_Click">Forest</Button>
|
||||
<Button Margin="10,5,10,5" Padding="3,3,3,3" Click="ButtonDesert_Click">Desert</Button>
|
||||
<Button Margin="10,5,10,5" Padding="3,3,3,3" Click="ButtonSea_Click">Sea</Button>
|
||||
</StackPanel>
|
||||
</ScrollViewer>
|
||||
</Border>
|
||||
<DockPanel Name="PanelMenu" Grid.Row="0" Grid.Column="1"
|
||||
Background="{StaticResource SeaBackgroundColor}">
|
||||
<StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal"
|
||||
<StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal"
|
||||
HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||
<Button Margin="10,5,10,5" Padding="3,3,3,3">Execute</Button>
|
||||
<Button Margin="10,5,10,5" Padding="3,3,3,3">Cancel</Button>
|
||||
</StackPanel>
|
||||
<DockPanel Background="Black">
|
||||
<Viewbox>
|
||||
<Image Name="ImageNature" Source="/Resources/images/sea.png"/>
|
||||
</Viewbox>
|
||||
<Button Margin="10,5,10,5" Padding="3,3,3,3">Execute</Button>
|
||||
<Button Margin="10,5,10,5" Padding="3,3,3,3">Cancel</Button>
|
||||
</StackPanel>
|
||||
<DockPanel Background="Black">
|
||||
<Viewbox>
|
||||
<Image Name="ImageNature" Source="/Resources/images/sea.png"/>
|
||||
</Viewbox>
|
||||
</DockPanel>
|
||||
</DockPanel>
|
||||
</DockPanel>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Window>
|
||||
|
Loading…
Reference in New Issue
Block a user