CreateData.xaml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <Page x:Class="BuzuevaDemo.Pages.CreateData"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:BuzuevaDemo.Pages"
  7. mc:Ignorable="d"
  8. Title="CreateZapis" Height="500" Width="245">
  9. <Grid>
  10. <StackPanel Orientation="Vertical" HorizontalAlignment="Stretch">
  11. <GroupBox Header="Наименование">
  12. <TextBox/>
  13. </GroupBox>
  14. <GroupBox Header="Тип агента">
  15. <ComboBox x:Name="typeag"/>
  16. </GroupBox>
  17. <GroupBox Header="Приоритет">
  18. <TextBox/>
  19. </GroupBox>
  20. <GroupBox Header="Адрес">
  21. <TextBox/>
  22. </GroupBox>
  23. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" >
  24. <GroupBox Header="ИНН" >
  25. <TextBox Width="80"/>
  26. </GroupBox>
  27. <GroupBox Header="КПП">
  28. <TextBox Width="80"/>
  29. </GroupBox>
  30. </StackPanel>
  31. <GroupBox Header="Имя директора">
  32. <TextBox />
  33. </GroupBox>
  34. <GroupBox Header="Телефон">
  35. <TextBox />
  36. </GroupBox>
  37. <GroupBox Header="Email">
  38. <TextBox/>
  39. </GroupBox>
  40. <Image Width="100" Height="100"/>
  41. <Button Content="Создать" Click="NewZapis"/>
  42. <Button Content="Добавить изображение" Click="NewImage" Margin="0, 5" />
  43. </StackPanel>
  44. </Grid>
  45. </Page>