<Window x:Class="ShabaninDemoEkz.AddChanged"
        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:ShabaninDemoEkz"
        mc:Ignorable="d"
        MinHeight="750"
        Title="AddChanged" Height="750" Width="800">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="75"/>
            <ColumnDefinition Width="157*"/>
   
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="100"/>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>
        <DockPanel Grid.ColumnSpan="3">
            <Image Source="Resurses/Приятный шелест.png"/>
            <TextBlock Text="Приятный шелест" FontSize="58"/>
        </DockPanel>

        <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Vertical"  Width="296" Grid.Row="1" Grid.ColumnSpan="2">
            <GroupBox Header="Наименование" >
                <TextBox x:Name="TitleTxt" Text="{Binding Title}"/>
            </GroupBox>
            <GroupBox Header="Тип агента">
                <ComboBox Name="TypeA"/>
            </GroupBox>
            <GroupBox Header="Адресс">
                <TextBox x:Name="AdressTxt" Text="{Binding Address}"/>
            </GroupBox>
            <GroupBox Header="ИНН">
                <TextBox x:Name="InnTxt" Text="{Binding INN}"/>
            </GroupBox>
            <GroupBox Header="КПП">
                <TextBox x:Name="KPP" Text="{Binding KPP}"/>
            </GroupBox>
            <GroupBox Header="Директор">
                <TextBox x:Name="DirectorTxt" Text="{Binding DirectorName}"/>
            </GroupBox>
            <GroupBox Header="Телефон">
                <TextBox x:Name="PhoneTxt" Text="{Binding Phone}"/>
            </GroupBox>
            <GroupBox Header="E-mail">
                <TextBox x:Name="EmailTxt" Text="{Binding Email}"/>
            </GroupBox>
            <GroupBox Header="Приоритет">
                <TextBox x:Name="Prioriti" Text="{Binding Priority}"/>
            </GroupBox>
            <Button x:Name="SaveBtn" Content="Сохранить" FontSize="20" Margin="0 20 0 0" Click="SaveBtn_Click"/>
  
            <Button x:Name="DelBtn" Content="Удалить" FontSize="20" Margin="0 20 0 0" Click="DelBtn_Click"/>
        </StackPanel>


    </Grid>
</Window>
