<Window x:Class="ShanghaiEnvironmentalTechnology.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="" WindowState="Maximized"   Height="768" Width="1024" Loaded="Window_Loaded"  WindowStartupLocation="CenterScreen"
    >
    <Grid Margin="20" Cursor="">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <TextBlock Text="" 
                   FontSize="24" 
                   FontWeight="Bold" 
                   HorizontalAlignment="Center" 
                   Margin="0,10,0,20"/>

        <Button Content="{ DynamicResource WindowTitle1}" 
                Grid.Row="1" 
                Style="{StaticResource MyButtonStyle}" Click="Button_Click"/>
        <Button Content="{ DynamicResource WindowTitle2}" 
                Grid.Row="2" 
                Style="{StaticResource MyButtonStyle}" Click="Button1_Click"/>
        <Button Content="{ DynamicResource WindowTitle3}" 
                Grid.Row="3" 
                Style="{StaticResource MyButtonStyle}" Click="Button2_Click" Cursor="Hand" />
        <Button Content="{ DynamicResource WindowTitle4}" 
                Grid.Row="4" 
                Style="{StaticResource MyButtonStyle}" Click="Button3_Click"/>
        <Button Content="{ DynamicResource WindowTitle5}" 
                Grid.Row="5" 
                Style="{StaticResource MyButtonStyle}" Click="Button4_Click"/>

        <Button Content="隐藏界面"
        Click="Button5_Click"
        Style="{StaticResource MyButtonStyle}"
            Opacity="0"
        IsHitTestVisible="True"

            HorizontalAlignment="Left"
        VerticalAlignment="Top"
        Margin="0"
        Panel.ZIndex="999"
        Width="50"
        Height="50" Cursor="Arrow"/>
    </Grid>
</Window>
