<Window x:Class="Agents.Update"
        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:Agents"
        mc:Ignorable="d"
        Title="Редактирование" Height="450" Width="800" FontFamily="Monotype Corsiva" FontSize="15">
    <Grid>
        <StackPanel Orientation="Vertical">
            <StackPanel Orientation="Horizontal">
                <Label Content="Наименование"/>
                <TextBox x:Name="Nam" Width="200" Height="20"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal">
                <Label Content="Тип агента"/>
                <ComboBox x:Name="type" Width="200" Height="20"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal">
                <Label Content="Приоритет"/>
                <TextBox x:Name="Prior" Width="200" Height="20"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal">
                <Label Content="Логотип"/>
                <Button x:Name="btnLogo" Content="Изменить логотип" Width="200" Height="20" Background="#FFC4FAFD"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal">
                <Label Content="Адресс"/>
                <TextBox x:Name="Adr" Width="200" Height="20"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal">
                <Label Content="ИНН"/>
                <TextBox x:Name="INN" Width="200" Height="20"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal">
                <Label Content="КПП"/>
                <TextBox x:Name="KPP" Width="200" Height="20"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal">
                <Label Content="Имя директора"/>
                <TextBox x:Name="Name" Width="200" Height="20"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal">
                <Label Content="Телефон"/>
                <TextBox x:Name="Phone" Width="200" Height="20"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal">
                <Label Content="E-mail"/>
                <TextBox x:Name="Mail" Width="200" Height="20"/>
            </StackPanel>
            <Button x:Name="btnDobi" Content="Редактировать" Width="110" Height="20" HorizontalAlignment="Left" Margin="5" Background="#FFC4FAFD"/>
            <Button x:Name="btnDel" Content="Удалить агента" Width="110" Height="20" HorizontalAlignment="Left" Margin="5" Background="#FFC4FAFD"/>
            <Button x:Name="btnNaz1" Content="Назад" Width="110" Height="20" HorizontalAlignment="Left" Margin="5" Click="btnNaz1_Click" Background="#FFC4FAFD"/>
        </StackPanel>
    </Grid>
</Window>
