123456789101112131415161718192021222324252627 |
- <Window x:Class="Test.WindowDob"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:Test"
- mc:Ignorable="d"
- Title="WindowDob" Height="450" Width="800">
- <Grid>
- <Border>
- <StackPanel Orientation="Vertical">
- <TextBox x:Name="Title" ></TextBox>
- <ComboBox x:Name="CB2"></ComboBox>
- <TextBox x:Name="CountInStock"></TextBox>
- <TextBox x:Name="Unit"></TextBox>
- <TextBox x:Name="CountInPack"></TextBox>
- <TextBox x:Name="MinCount" ></TextBox>
- <TextBox x:Name="Cost"></TextBox>
- <Image Width="50" Height="50" x:Name="img"></Image>
- <Button Content="Добавить новое изображение" Click="Button_Click"></Button>
- <TextBox x:Name="Description" TextWrapping="Wrap" AcceptsReturn="True" VerticalScrollBarVisibility="Visible"></TextBox> <!--TextWrapping="Wrap" AcceptsReturn="True" VerticalScrollBarVisibility="Visible" - для многостраничного ввода-->
- <Button Content="Сохранить" Click="Button_Click_1"></Button>
- </StackPanel>
- </Border>
- </Grid>
- </Window>
|