PageMain.xaml 1.1 KB

12345678910111213141516171819202122
  1. <Page x:Class="WpfAppHotel.PageMain"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:WpfAppHotel"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="PageMain"
  10. Style="{StaticResource pgStyle}">
  11. <Grid>
  12. <StackPanel Grid.Row="0" Orientation="Vertical" Margin="10">
  13. <TextBlock HorizontalAlignment="Center" FontSize="32" >Путешествуй по России</TextBlock>
  14. <StackPanel Orientation="Vertical">
  15. <Button x:Name="btnHotel" Template="{StaticResource btnStyle}" Content="Отели" Margin="10" Click="btnHotel_Click"/>
  16. <Button x:Name="btnTour" Template="{StaticResource btnStyle}" Content="Туры" Margin="10" Click="btnTour_Click"/>
  17. </StackPanel>
  18. </StackPanel>
  19. </Grid>
  20. </Page>