Red.xaml 1.4 KB

12345678910111213141516171819202122232425
  1. <Window x:Class="DemoPractick.Red"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:DemoPractick"
  7. mc:Ignorable="d"
  8. Title="Редактирование" Height="150" Width="800" Icon="Source\IcoLogo\Намордник.ico">
  9. <Grid>
  10. <Grid.RowDefinitions>
  11. <RowDefinition Height="77*"/>
  12. <RowDefinition Height="57*"/>
  13. </Grid.RowDefinitions>
  14. <Grid.ColumnDefinitions>
  15. <ColumnDefinition Width="6*"/>
  16. <ColumnDefinition Width="19*"/>
  17. </Grid.ColumnDefinitions>
  18. <TextBlock Text="Сумма" HorizontalAlignment="Center" VerticalAlignment="Top" Height="30" Width="36" Margin="0,29,0,0"/>
  19. <TextBox VerticalAlignment="Top" Height="30" Grid.Column="1" Margin="1,21,1,0"/>
  20. <StackPanel Orientation="Vertical" Grid.Row="1" Grid.ColumnSpan="2" Margin="4">
  21. <Button Grid.ColumnSpan="2" Command="{Binding AddSumCommand}" Content="Изменить"></Button>
  22. <Button Grid.ColumnSpan="2" Content="Удалить запись"></Button>
  23. </StackPanel>
  24. </Grid>
  25. </Window>