<Window x:Class="WPF_LibrosFamosos.vtnAgregar"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WPF_LibrosFamosos"
        mc:Ignorable="d"
        Title="Agregar Autor" Height="350" Width="350" Icon="bookshelf.png" Background="White">
    <Window.Resources>
        <Style TargetType="TextBlock">
            <Setter Property="FontSize" Value="14"></Setter>
            <Setter Property="Margin" Value="3,1"></Setter>
        </Style>
        <Style TargetType="TextBox">
            <Setter Property="Margin" Value="3,1"></Setter>
        </Style>
    </Window.Resources>
    <DockPanel Margin="4" Background="LightBlue">
        <StackPanel DockPanel.Dock="Top">
            <TextBlock Text="Agregar Autor" FontSize="18" Margin="8,8,8,2" FontWeight="Bold"></TextBlock>
            <Separator BorderThickness="5" BorderBrush="Black" Margin="5,4"></Separator>
        </StackPanel>
        <WrapPanel DockPanel.Dock="Bottom" HorizontalAlignment="Right">
            <Button Name="btnAgregar" Padding="4" Margin="4,2,4,10" Width="70" FontSize="14" Click="btnAgregar_Click">Agregar</Button>
            <Button Name="btnCancelar" Padding="4" Margin="4,2,4,10" Width="65" FontSize="14" Click="btnCancelar_Click">Cancelar</Button>
        </WrapPanel>
        <StackPanel Margin="8">
            <TextBlock>Nombre:</TextBlock>
            <TextBox Name="txtNombre" Text="{Binding Nombre}"></TextBox>
            <TextBlock>Nacionalidad:</TextBlock>
            <TextBox Name="txtNacionalidad" Text="{Binding Nacionalidad}"></TextBox>
            <TextBlock>Fecha Nacimiento:</TextBlock>
            <TextBox Text="{Binding Nacimiento}"></TextBox>
            <TextBlock>Fecha de Muerte:</TextBlock>
            <TextBox Text="{Binding Muerte}"></TextBox>
        </StackPanel>
    </DockPanel>
</Window>
