123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- <Page x:Class="WriteErase.ClassPages.PageEditProduct"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:WriteErase.ClassPages"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800"
- Title="PageEditProduct"
- FontFamily="Comic Sans MS">
- <Grid Margin="15 10">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="*"/>
- <RowDefinition Height="Auto"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="Auto"/>
- </Grid.ColumnDefinitions>
- <Grid Grid.Row="0" Grid.ColumnSpan="2"
- Margin="0 0 0 15">
- <Button
- Name="btnBack"
- Content="Назад"
- HorizontalAlignment="Left"
- Click="btnBackClick"/>
- <TextBlock
- Name="tbkHeader"
- Text="Заголовок"
- HorizontalAlignment="Center"
- Style="{StaticResource Header}"/>
- <Button
- Name="btnSave"
- Content="Сохранить"
- HorizontalAlignment="Right"
- Click="btnSaveClick"/>
- </Grid>
- <ScrollViewer Grid.Row="1" Grid.Column="0" Margin="0 0 5 0"
- ScrollViewer.VerticalScrollBarVisibility="Auto">
- <Grid
- HorizontalAlignment="Center">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="Auto"/>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <TextBlock
- Text="Артикул"
- Grid.Column="0" Grid.Row="0"
- FontSize="16" Foreground="#498C51"/>
- <StackPanel Orientation="Horizontal"
- Grid.Column="1" Grid.Row="0">
- <TextBox Width="200"
- IsEnabled="False"
- Name="tbxArticle"/>
- <Button Name="btnGenerate" Style="{StaticResource Restart}" Click="GenerateClick"/>
- </StackPanel>
- <TextBlock
- Text="Наименование товара"
- Grid.Column="0" Grid.Row="1"
- FontSize="16" Foreground="#498C51"/>
- <TextBox
- Name="tbxName"
- Grid.Column="1" Grid.Row="1"/>
- <TextBlock
- Text="Описание"
- Grid.Column="0" Grid.Row="2"
- FontSize="16" Foreground="#498C51"/>
- <TextBox
- Name="tbxDescription"
- MinHeight="40" Height="Auto"
- TextWrapping="Wrap"
- Grid.Column="1" Grid.Row="2"/>
- <TextBlock
- Text="Категория"
- Grid.Column="0" Grid.Row="3"
- FontSize="16" Foreground="#498C51"/>
- <ComboBox
- Name="cbCategory"
- Grid.Column="1" Grid.Row="3"/>
- <TextBlock
- Text="Цена"
- Grid.Column="0" Grid.Row="4"
- FontSize="16" Foreground="#498C51"/>
- <TextBox
- Name="tbxCost"
- Grid.Column="1" Grid.Row="4"/>
- <TextBlock
- Text="Скидка"
- Grid.Column="0" Grid.Row="5"
- FontSize="16" Foreground="#498C51"/>
- <TextBox
- Name="tbxDiscount"
- Grid.Column="1" Grid.Row="5"/>
- <TextBlock
- Text="Производитель"
- Grid.Column="0" Grid.Row="6"
- FontSize="16" Foreground="#498C51"/>
- <ComboBox
- Name="cbManufactured"
- Grid.Column="1" Grid.Row="6"/>
- <TextBlock
- Text="Поставщик"
- Grid.Column="0" Grid.Row="7"
- FontSize="16" Foreground="#498C51"/>
- <ComboBox
- Name="cbSuplier"
- Grid.Column="1" Grid.Row="7"/>
- <TextBlock
- Text="Количество на складе"
- Grid.Column="0" Grid.Row="8"
- FontSize="16" Foreground="#498C51"/>
- <TextBox
- Name="tbxCount"
- Grid.Column="1" Grid.Row="8"/>
- </Grid>
- </ScrollViewer>
- <StackPanel
- Visibility="Collapsed"
- Orientation="Vertical"
- Margin="5 0 0 0"
- Grid.Row="1" Grid.Column="1">
- <Image
- Width="150" Height="150"
- Source="/Assets/picture.png"/>
- <Button
- Content="Добавить фото"/>
- </StackPanel>
- </Grid>
- </Page>
|