1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <Page x:Class="Sessioa.Pages.ProductCard"
- 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:Sessioa.Pages"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800"
- Title="Карточка продукта"
- FontSize="16"
- FontFamily="Comic Sans MS">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="0.2"/>
- <RowDefinition Height="8*"/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition Width="4*"/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Border BorderBrush="#76E383" BorderThickness="5" CornerRadius="30" Grid.Row="1" Grid.Column="1" Margin="60,5">
- <StackPanel Margin="40,0" VerticalAlignment="Center">
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
- <Button Name="BackIm" Content="<" Style="{StaticResource ButtonAct}" Margin="0,0,50,0" MaxHeight="30" MinWidth="30" MaxWidth="50" Click="BackIm_Click"/>
- <Image Name="ImageProd" Source="/Resources/picture.png" MaxHeight="150" MinHeight="60"/>
- <Button Name="NextIm" Content=">" Style="{StaticResource ButtonAct}" Margin="50,0,0,0" MaxHeight="30" MinWidth="30" MaxWidth="50" Click="NextIm_Click"/>
- </StackPanel>
- <TextBox x:Name="TB_Articule" DataContext="Артикул" Style="{StaticResource TextBox}" Margin="5" MinHeight="40"/>
- <TextBox x:Name="TB_Title" DataContext="Название" Style="{StaticResource TextBox}" Margin="5" MinHeight="40"/>
- <TextBox x:Name="TB_Description" DataContext="Описание" Style="{StaticResource TextBox}" Margin="5" MinHeight="40" TextWrapping="Wrap"/>
- <TextBlock Text="Категория" Style="{StaticResource TextBlock}"/>
- <ComboBox Name="CategoryProd" Margin="5" MinHeight="40"/>
- <TextBlock Text="Производитель" Style="{StaticResource TextBlock}"/>
- <ComboBox Name="ManufacturedProd" Margin="5" MinHeight="40"/>
- <TextBlock Text="Поставщик" Style="{StaticResource TextBlock}"/>
- <ComboBox Name="ProviderProd" Margin="5" MinHeight="40"/>
- <TextBox x:Name="TB_Price" DataContext="Стоимость" Style="{StaticResource TextBox}" Margin="5" MinHeight="40"/>
- <TextBox x:Name="TB_Discount" DataContext="Скидка (%)" Style="{StaticResource TextBox}" Margin="5" MinHeight="40"/>
- <TextBox x:Name="TB_Count" DataContext="Колличество на складе" Style="{StaticResource TextBox}" Margin="5" MinHeight="40"/>
- </StackPanel>
- </Border>
- <StackPanel Grid.Row="2" Grid.Column="1" HorizontalAlignment="Center" Orientation="Horizontal">
- <Button Name="BT_save" Content="Сохранить" Style="{StaticResource ButtonSt}" MaxHeight="50" Margin="20,0" Click="BT_save_Click"/>
- <Button Name="BT_Back" Content="Назад" Style="{StaticResource ButtonSt}" MaxHeight="50" MinWidth="100" Margin="20,0" Click="BT_Back_Click"/>
- </StackPanel>
- </Grid>
- </Page>
|