<Window x:Class="DemoPractick.Red"
        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:DemoPractick"
        mc:Ignorable="d"
        Title="Редактирование" Height="150" Width="800" Icon="Source\IcoLogo\Намордник.ico">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="77*"/>
            <RowDefinition Height="57*"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="6*"/>
            <ColumnDefinition Width="19*"/>
        </Grid.ColumnDefinitions>
        <TextBlock Text="Сумма" HorizontalAlignment="Center"  VerticalAlignment="Top" Height="30" Width="36" Margin="0,29,0,0"/>
        <TextBox  VerticalAlignment="Top" Height="30" Grid.Column="1" Margin="1,21,1,0"/>
        <StackPanel Orientation="Vertical" Grid.Row="1" Grid.ColumnSpan="2" Margin="4">
            <Button Grid.ColumnSpan="2"     Command="{Binding AddSumCommand}" Content="Изменить"></Button>
            <Button Grid.ColumnSpan="2"   Content="Удалить запись"></Button>
        </StackPanel>
    </Grid>
</Window>
