<Window x:Class="Ch07Sample_03.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Switch 语句范例" Height="214" Width="537" FontSize="18">
    <Grid Height="183">
        <Label Content="选择员工职位等级：" Height="36" HorizontalAlignment="Left" Margin="28,41,0,0" Name="label1" VerticalAlignment="Top" Width="155" />
        <Label Content="显示员工职称：" Height="36" HorizontalAlignment="Left" Margin="54,93,0,0" Name="label2" VerticalAlignment="Top" Width="145" />
        <ComboBox Height="36" HorizontalAlignment="Left" Margin="222,41,0,0" Name="comboBox1" VerticalAlignment="Top" Width="120" SelectionChanged="comboBox1_SelectionChanged">
            <ComboBoxItem Content="1" />
            <ComboBoxItem Content="2" />
            <ComboBoxItem Content="3" />
        </ComboBox>
        <TextBox Height="36" HorizontalAlignment="Left" Margin="222,93,0,0" Name="txtResult" VerticalAlignment="Top" Width="267" IsEnabled="False" IsReadOnly="True" />
    </Grid>
</Window>
