windChangeAgent.xaml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <Window x:Class="DemoTest_Boldin_41P.windChangeAgent"
  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:DemoTest_Boldin_41P"
  7. mc:Ignorable="d"
  8. Title="windChangeAgent" Height="600" Width="800">
  9. <Grid>
  10. <Grid.ColumnDefinitions>
  11. <ColumnDefinition Width="7*"/>
  12. <ColumnDefinition Width="59*"/>
  13. </Grid.ColumnDefinitions>
  14. <Grid.RowDefinitions>
  15. <RowDefinition Height="50*"/>
  16. <RowDefinition Height="369*"/>
  17. </Grid.RowDefinitions>
  18. <Slider>
  19. </Slider>
  20. <Image Source="images\Приятный шелест.png" Grid.Row="0" Grid.Column="0"></Image>
  21. <TextBlock Text="Приятный шелест" Grid.Row="0" Grid.Column="1" FontSize="40"></TextBlock>
  22. <StackPanel Grid.Row="1" Grid.Column="1" Width="400px">
  23. <Image Source="{Binding Logo}" Width="60px" Height="60px"></Image>
  24. <GroupBox Header="Наименование">
  25. <StackPanel>
  26. <TextBox Text="{Binding Title}"></TextBox>
  27. </StackPanel>
  28. </GroupBox>
  29. <GroupBox Header="Тип">
  30. <StackPanel>
  31. <ComboBox Name="cbType"></ComboBox>
  32. </StackPanel>
  33. </GroupBox>
  34. <GroupBox Header="Приоритет">
  35. <StackPanel>
  36. <TextBox Name="tbPrior" Text="{Binding Priority}"></TextBox>
  37. </StackPanel>
  38. </GroupBox>
  39. <GroupBox Header="Адрес">
  40. <StackPanel>
  41. <TextBox Text="{Binding Address}"></TextBox>
  42. </StackPanel>
  43. </GroupBox>
  44. <GroupBox Header="ФИО директора">
  45. <StackPanel>
  46. <TextBox Text="{Binding DirectorName}"></TextBox>
  47. </StackPanel>
  48. </GroupBox>
  49. <GroupBox Header="Телефон">
  50. <StackPanel>
  51. <TextBox Text="{Binding Phone}"></TextBox>
  52. </StackPanel>
  53. </GroupBox>
  54. <GroupBox Header="Email">
  55. <StackPanel>
  56. <TextBox Text="{Binding Email}"></TextBox>
  57. </StackPanel>
  58. </GroupBox>
  59. <GroupBox Header="ИНН">
  60. <StackPanel>
  61. <TextBox Text="{Binding INN}"></TextBox>
  62. </StackPanel>
  63. </GroupBox>
  64. <GroupBox Header="КПП">
  65. <StackPanel>
  66. <TextBox Text="{Binding KPP}"></TextBox>
  67. </StackPanel>
  68. </GroupBox>
  69. <Button Name="btnChange_Add" Click="Button_Click" Content="Изменить"></Button>
  70. <Button Click="Button_Click_1" Content="Удалить агента"></Button>
  71. </StackPanel>
  72. </Grid>
  73. </Window>