<Window x:Class="DemoTest_Boldin_41P.windChangeAgent"
        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:DemoTest_Boldin_41P"
        mc:Ignorable="d"
        Title="windChangeAgent" Height="600" Width="800">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="7*"/>
            <ColumnDefinition Width="59*"/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="50*"/>
            <RowDefinition Height="369*"/>
        </Grid.RowDefinitions>
        <Slider>
            
        </Slider>
        <Image Source="images\Приятный шелест.png" Grid.Row="0" Grid.Column="0"></Image>
        <TextBlock Text="Приятный шелест" Grid.Row="0" Grid.Column="1" FontSize="40"></TextBlock>
        <StackPanel Grid.Row="1" Grid.Column="1" Width="400px">
            <Image Source="{Binding Logo}" Width="60px" Height="60px"></Image>
            <GroupBox Header="Наименование">
                <StackPanel>
                    <TextBox Text="{Binding Title}"></TextBox>
                </StackPanel>
            </GroupBox>
            <GroupBox Header="Тип">
                <StackPanel>
                    <ComboBox Name="cbType"></ComboBox>
                </StackPanel>
            </GroupBox>
            <GroupBox Header="Приоритет">
                <StackPanel>
                    <TextBox Name="tbPrior" Text="{Binding Priority}"></TextBox>
                </StackPanel>
            </GroupBox>

            <GroupBox Header="Адрес">
                <StackPanel>
                    <TextBox Text="{Binding Address}"></TextBox>
                </StackPanel>
            </GroupBox>
            <GroupBox Header="ФИО директора">
                <StackPanel>
                    <TextBox Text="{Binding DirectorName}"></TextBox>
                </StackPanel>
            </GroupBox>
            <GroupBox Header="Телефон">
                <StackPanel>
                    <TextBox Text="{Binding Phone}"></TextBox>
                </StackPanel>
            </GroupBox>
            <GroupBox Header="Email">
                <StackPanel>
                    <TextBox Text="{Binding Email}"></TextBox>
                </StackPanel>
            </GroupBox>
            <GroupBox Header="ИНН">
                <StackPanel>
                    <TextBox Text="{Binding INN}"></TextBox>
                </StackPanel>
            </GroupBox>

            <GroupBox Header="КПП">
                <StackPanel>
                    <TextBox Text="{Binding KPP}"></TextBox>
                </StackPanel>
            </GroupBox>
            <Button Name="btnChange_Add" Click="Button_Click" Content="Изменить"></Button>
            <Button Click="Button_Click_1" Content="Удалить агента"></Button>
        </StackPanel>
    </Grid>
</Window>
