123456789101112131415161718192021222324252627 |
- <Page x:Class="TamagochiProject.Pages.HealAnimalPage"
- 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:TamagochiProject.Pages"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800"
- Title="HealAnimalPage">
- <Grid>
- <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Orientation="Vertical" Width="200">
- <ListBox Name="lbHealth">
- <ListBox.ItemTemplate>
- <DataTemplate>
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
- <TextBlock Name="tbActivity" Width="150" Text="{Binding Activity}"/>
- <TextBlock Name="tbCountHealth" Text="{Binding CountHealth}"/>
- </StackPanel>
- </DataTemplate>
- </ListBox.ItemTemplate>
- </ListBox>
- <Button Margin="0 10 0 0" Name="btnHeal" Content="Выполнить" Click="btnHeal_Click"/>
- <Button Margin="0 10 0 0" Name="btnReturn" Content="Назад" Click="btnReturn_Click"/>
- </StackPanel>
- </Grid>
- </Page>
|