WelcomePage.xaml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <Page x:Class="DontHarmDesktop.Pages.WelcomePage"
  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:DontHarmDesktop.Pages" xmlns:viewmodels="clr-namespace:DontHarmDesktop.ViewModels" d:DataContext="{d:DesignInstance Type=viewmodels:WelcomeViewModel}"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800"
  9. Title="WelcomePage"
  10. ShowsNavigationUI="False">
  11. <StackPanel Style="{StaticResource FormContainer}">
  12. <TextBlock Text="{Binding GreetingsText}" Style="{StaticResource H2}"/>
  13. <Grid>
  14. <Grid.RowDefinitions>
  15. <RowDefinition/>
  16. <RowDefinition/>
  17. <RowDefinition/>
  18. <RowDefinition/>
  19. <RowDefinition/>
  20. <RowDefinition/>
  21. <RowDefinition/>
  22. </Grid.RowDefinitions>
  23. <TextBlock Grid.Row="0" Style="{StaticResource H3}">Просмотр</TextBlock>
  24. <Label Grid.Row="1">
  25. <Hyperlink NavigateUri="Services.xaml" >Просмотр услуг</Hyperlink>
  26. </Label>
  27. <Label Grid.Row="2">
  28. <Hyperlink NavigateUri="Clients.xaml" >Просмотр клиентов</Hyperlink>
  29. </Label>
  30. <TextBlock Grid.Row="3" Style="{StaticResource H3}">Отчеты</TextBlock>
  31. <Label Grid.Row="4">
  32. <Hyperlink NavigateUri="Reports/EmployeeCost.xaml">Ценность сотрудников</Hyperlink>
  33. </Label>
  34. </Grid>
  35. </StackPanel>
  36. </Page>