<Window x:Class="HRApplication.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="练习 - 使用变量" Height="352" Width="497" FontSize="14" Loaded="Window_Loaded">
    <Grid>
        <Label Content="姓名：" Height="31" HorizontalAlignment="Left" Margin="28,30,0,0" Name="label1" VerticalAlignment="Top" Width="68" />
        <Label Content="到职时间：" Height="31" HorizontalAlignment="Left" Margin="28,67,0,0" Name="label2" VerticalAlignment="Top" Width="68" />
        <Label Content="基本月薪：" Height="31" HorizontalAlignment="Left" Margin="28,104,0,0" Name="label3" VerticalAlignment="Top" Width="78" />
        <TextBox Height="105" HorizontalAlignment="Left" Margin="28,185,0,0" Name="txtResult" VerticalAlignment="Top" Width="414" />
        <Button Content="计算实际领取薪资" Height="28" HorizontalAlignment="Left" Margin="234,151,0,0" Name="button1" VerticalAlignment="Top" Width="208" Click="button1_Click" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="124,32,0,0" Name="txtName" VerticalAlignment="Top" Width="224" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="124,106,0,0" Name="txtBaseSalary" VerticalAlignment="Top" Width="224" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="124,69,0,0" Name="txtHireDate" VerticalAlignment="Top" Width="224" />
    </Grid>
</Window>
