ReductAdd.xaml 1.5 KB

12345678910111213141516171819202122232425262728
  1. <Window x:Class="Learn.ReductAdd"
  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:Learn"
  7. mc:Ignorable="d"
  8. Title="ReductAdd" Height="450" Width="800">
  9. <Grid>
  10. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Width="200">
  11. <TextBlock HorizontalAlignment="Center">Название класса</TextBlock>
  12. <TextBox Name="ServName"/>
  13. <TextBlock HorizontalAlignment="Center">Стоимость</TextBlock>
  14. <TextBox Name="Price"/>
  15. <TextBlock HorizontalAlignment="Center">Длительность в секундах</TextBlock>
  16. <TextBox Name="Duration"/>
  17. <TextBlock HorizontalAlignment="Center">Описание</TextBlock>
  18. <TextBox Height="100" Name="Disc"/>
  19. <TextBlock HorizontalAlignment="Center">Скидка</TextBlock>
  20. <TextBox Name="Promo"/>
  21. <Button Margin="0,10,0,0" Click="FixChanges">
  22. <Button.Content>
  23. <TextBlock TextWrapping="Wrap">Измененить/ Добавить класс</TextBlock>
  24. </Button.Content>
  25. </Button>
  26. </StackPanel>
  27. </Grid>
  28. </Window>