<Window x:Class="ProbnikDemo.AddAgent"
        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:ProbnikDemo"
        mc:Ignorable="d"
        Title="AddAgent" Height="600" Width="800">
    <Grid>
        <StackPanel Orientation="Vertical">
            <GroupBox Header="Наименование">
                <TextBox x:Name="TxtTitle"></TextBox>
                
            </GroupBox>

            <GroupBox Header="Тип агента">
                <ComboBox x:Name="ComboType"></ComboBox>
            </GroupBox>

            <GroupBox Header="Адрес">
                <TextBox x:Name="TxtAdress"></TextBox>
            </GroupBox>
            <GroupBox Header="ИНН">
                <TextBox x:Name="TxtINN"></TextBox>
            </GroupBox>
            <GroupBox Header="КПП">
                <TextBox x:Name="TxtKPP"></TextBox>
            </GroupBox>
            <GroupBox Header="Имя директора">
                <TextBox x:Name="TxtDirector"></TextBox>
            </GroupBox>
            <GroupBox Header="Телефон">
                <TextBox x:Name="TxtPhone"></TextBox>
            </GroupBox>

            <GroupBox Header="Email">
                <TextBox x:Name="TxtEmail"></TextBox>
            </GroupBox>


            <GroupBox Header="Приоритет">
                <TextBox x:Name="TxtPriority"></TextBox>
            </GroupBox>

           
                <StackPanel Orientation="Vertical" HorizontalAlignment="Left" Width="792">
                <Image x:Name="IMG" Width="150" Height="150"></Image>
                <Button Content="Добавить фото" x:Name="BtnImg" Click="BtnImg_Click" ></Button>
                </StackPanel>
           
            <Button  Content="Добавить агента" x:Name="BtnAdd" Click="BtnAdd_Click" Margin="20,20,20,20"></Button>
        </StackPanel>
    </Grid>
</Window>
