12345678910111213141516171819202122232425262728293031 |
- <Page x:Class="Prakticheskaya5_Venediktov.MedicineInfo"
- 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:Prakticheskaya5_Venediktov"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800"
- Title="MedicineInfo">
- <Page.Resources>
- <DataTemplate x:Key="MedicineInfo">
- <StackPanel Background="{Binding BGColor}">
- <TextBlock Text="{Binding ID_Medicine}"/>
- <TextBlock Text="{Binding Name_Medicine}"/>
- <TextBlock Text="{Binding Vid}"/>
- <TextBlock Text="{Binding Price}"/>
- </StackPanel>
- </DataTemplate>
- </Page.Resources>
- <Grid Background="LightBlue">
- <ScrollViewer>
- <Border Margin="15" Background="White" VerticalAlignment="Center" Padding="30" CornerRadius="50" Width="700">
- <StackPanel>
- <TextBlock Text="Медикаменты, которые есть в наличии" FontSize="30" FontWeight="Bold" Margin="0 0 0 10" HorizontalAlignment="Center"></TextBlock>
- <Button x:Name="back" Click="back_Click" HorizontalAlignment="Center" Margin="10, 20" FontSize="20" Content="Выйти"></Button>
- <ListView x:Name="Medicined" ItemTemplate="{StaticResource Medicined}"></ListView>
- </StackPanel>
- </Border>
- </ScrollViewer>
- </Grid>
- </Page>
|