WindowDob.xaml 1.5 KB

123456789101112131415161718192021222324252627
  1. <Window x:Class="Test.WindowDob"
  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:Test"
  7. mc:Ignorable="d"
  8. Title="WindowDob" Height="450" Width="800">
  9. <Grid>
  10. <Border>
  11. <StackPanel Orientation="Vertical">
  12. <TextBox x:Name="Title" ></TextBox>
  13. <ComboBox x:Name="CB2"></ComboBox>
  14. <TextBox x:Name="CountInStock"></TextBox>
  15. <TextBox x:Name="Unit"></TextBox>
  16. <TextBox x:Name="CountInPack"></TextBox>
  17. <TextBox x:Name="MinCount" ></TextBox>
  18. <TextBox x:Name="Cost"></TextBox>
  19. <Image Width="50" Height="50" x:Name="img"></Image>
  20. <Button Content="Добавить новое изображение" Click="Button_Click"></Button>
  21. <TextBox x:Name="Description" TextWrapping="Wrap" AcceptsReturn="True" VerticalScrollBarVisibility="Visible"></TextBox> <!--TextWrapping="Wrap" AcceptsReturn="True" VerticalScrollBarVisibility="Visible" - для многостраничного ввода-->
  22. <Button Content="Сохранить" Click="Button_Click_1"></Button>
  23. </StackPanel>
  24. </Border>
  25. </Grid>
  26. </Window>