<Window x:Class="LogicOperators.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="逻辑运算符范例" Height="388" Width="359" FontSize="14" Loaded="Window_Loaded">
    <Grid>
        <Button Content="(i &gt; 5 &amp;&amp; j &gt; 5) = " Height="48" HorizontalAlignment="Left" Margin="24,81,0,0" Name="button1" VerticalAlignment="Top" Width="165" Click="button1_Click" />
        <Button Content="(i &gt; 5  ||  j &gt; 5) = " Height="48" HorizontalAlignment="Left" Margin="24,148,0,0" Name="button2" VerticalAlignment="Top" Width="165" Click="button2_Click" />
        <Button Content="(i &gt; 5  ^ j &gt; 5) = " Height="48" HorizontalAlignment="Left" Margin="24,214,0,0" Name="button3" VerticalAlignment="Top" Width="165" Click="button3_Click" />
        <Button Content="!(i &gt; 5) = " Height="48" HorizontalAlignment="Left" Margin="24,277,0,0" Name="button4" VerticalAlignment="Top" Width="165" Click="button4_Click" />
        <Label Height="40" HorizontalAlignment="Left" Margin="26,18,0,0" Name="label1" VerticalAlignment="Top" Width="285" FontWeight="Bold" />
        <Label Height="48" HorizontalAlignment="Left" Margin="204,81,0,0" Name="label2" VerticalAlignment="Top" Width="107" FontWeight="Bold" />
        <Label Height="48" HorizontalAlignment="Left" Margin="204,148,0,0" Name="label3" VerticalAlignment="Top" Width="107" FontWeight="Bold" />
        <Label Height="48" HorizontalAlignment="Left" Margin="204,214,0,0" Name="label4" VerticalAlignment="Top" Width="107" FontWeight="Bold" />
        <Label Height="48" HorizontalAlignment="Left" Margin="204,277,0,0" Name="label5" VerticalAlignment="Top" Width="107" FontWeight="Bold" />
    </Grid>
</Window>
