<Window x:Class="EventSample.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="设置员工数据" Height="197" Width="392" FontSize="14">
    <Grid>
        <Label Content="员工编号：" Height="28" HorizontalAlignment="Left" Margin="24,24,0,0" Name="label1" VerticalAlignment="Top" />
        <Label Content="员工姓名：" Height="28" HorizontalAlignment="Left" Margin="24,58,0,0" Name="label2" VerticalAlignment="Top" />
        <Label Content="员工薪资：" Height="28" HorizontalAlignment="Left" Margin="24,92,0,0" Name="label3" VerticalAlignment="Top" />
        <TextBox Height="28" HorizontalAlignment="Left" Margin="121,24,0,0" Name="txtID" VerticalAlignment="Top" Width="120" />
        <TextBox Height="28" HorizontalAlignment="Left" Margin="121,58,0,0" Name="txtName" VerticalAlignment="Top" Width="120" />
        <TextBox Height="28" HorizontalAlignment="Left" Margin="121,92,0,0" Name="txtSalary" VerticalAlignment="Top" Width="120" />
        <Button Content="确定" Height="28" HorizontalAlignment="Left" Margin="268,92,0,0" Name="btnOK" VerticalAlignment="Top" Width="75" Click="btnOK_Click" />
    </Grid>
</Window>

