|
|
@@ -8,11 +8,15 @@
|
|
|
Title="MainWindow" Height="450" Width="800" Closing="Window_Closing">
|
|
|
<Grid>
|
|
|
<Grid.RowDefinitions>
|
|
|
- <RowDefinition Height="70"/>
|
|
|
+ <RowDefinition Height="80"/>
|
|
|
<RowDefinition Height="*"/>
|
|
|
</Grid.RowDefinitions>
|
|
|
<Grid Grid.Row="0" Background="#FF0050FF">
|
|
|
- <Button x:Name="HomeButton" HorizontalAlignment="Left" VerticalAlignment="Center" Width="55" Height="65" Background="{x:Null}">
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition Width="55"/>
|
|
|
+ <ColumnDefinition Width="*"/>
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
+ <Button Grid.Column="0" x:Name="HomeButton" HorizontalAlignment="Left" VerticalAlignment="Center" Click="HomeButton_Click" Width="55" Background="{x:Null}" Height="80">
|
|
|
<StackPanel>
|
|
|
<Image Source="/FromImage/菜单_白.png" Stretch="Fill" HorizontalAlignment="Center" Height="45" Width="45"/>
|
|
|
<TextBlock Text="菜单" HorizontalAlignment="Center" Foreground="White" />
|