AddAgent.xaml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <Window x:Class="ProbnikDemo.AddAgent"
  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:ProbnikDemo"
  7. mc:Ignorable="d"
  8. Title="AddAgent" Height="600" Width="800">
  9. <Grid>
  10. <StackPanel Orientation="Vertical">
  11. <GroupBox Header="Наименование">
  12. <TextBox x:Name="TxtTitle"></TextBox>
  13. </GroupBox>
  14. <GroupBox Header="Тип агента">
  15. <ComboBox x:Name="ComboType"></ComboBox>
  16. </GroupBox>
  17. <GroupBox Header="Адрес">
  18. <TextBox x:Name="TxtAdress"></TextBox>
  19. </GroupBox>
  20. <GroupBox Header="ИНН">
  21. <TextBox x:Name="TxtINN"></TextBox>
  22. </GroupBox>
  23. <GroupBox Header="КПП">
  24. <TextBox x:Name="TxtKPP"></TextBox>
  25. </GroupBox>
  26. <GroupBox Header="Имя директора">
  27. <TextBox x:Name="TxtDirector"></TextBox>
  28. </GroupBox>
  29. <GroupBox Header="Телефон">
  30. <TextBox x:Name="TxtPhone"></TextBox>
  31. </GroupBox>
  32. <GroupBox Header="Email">
  33. <TextBox x:Name="TxtEmail"></TextBox>
  34. </GroupBox>
  35. <GroupBox Header="Приоритет">
  36. <TextBox x:Name="TxtPriority"></TextBox>
  37. </GroupBox>
  38. <StackPanel Orientation="Vertical" HorizontalAlignment="Left" Width="792">
  39. <Image x:Name="IMG" Width="150" Height="150"></Image>
  40. <Button Content="Добавить фото" x:Name="BtnImg" Click="BtnImg_Click" ></Button>
  41. </StackPanel>
  42. <Button Content="Добавить агента" x:Name="BtnAdd" Click="BtnAdd_Click" Margin="20,20,20,20"></Button>
  43. </StackPanel>
  44. </Grid>
  45. </Window>