<Page x:Class="DontHarmDesktop.Pages.WelcomePage"
      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:DontHarmDesktop.Pages"
      mc:Ignorable="d" 
      d:DesignHeight="450" d:DesignWidth="800"
      Title="WelcomePage"
      ShowsNavigationUI="False">

    <StackPanel>
        <Frame Source="/Pages/UserInfoPage.xaml"/>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <Label Visibility="{Binding Path=AcceptWasteVisibility}" Name="AcceptWasteLabel" Grid.Row="0"><Hyperlink>Принять отходы</Hyperlink></Label>
            <Label Visibility="{Binding Path=MakeReportsVisibility}" Name="MakeReportsLabel" Grid.Row="1"><Hyperlink>Сформировать отчёты</Hyperlink></Label>
            <Label Visibility="{Binding Path=UtilizerVisibility}" Name="UtilizerLabel" Grid.Row="2"><Hyperlink>Работа с утилизатором</Hyperlink></Label>
            <Label Visibility="{Binding Path=ViewReportsVisibility}" Name="ViewReportsLabel" Grid.Row="3"><Hyperlink>Просмотреть отчёты</Hyperlink></Label>
            <Label Visibility="{Binding Path=MakeInvoiceVisibility}" Name="MakeInvoiceLabel" Grid.Row="4"><Hyperlink>Сформировать счёт предприятию</Hyperlink></Label>
            <Label Visibility="{Binding Path=LoginHistoryVisibility}" Name="LoginHistoryLabel" Grid.Row="5"><Hyperlink>Просмотр истории входа</Hyperlink></Label>
            <Label Visibility="{Binding Path=UsageVisibility}" Name="UsageLabel" Grid.Row="6"><Hyperlink>Просмотр расходов</Hyperlink></Label>
        </Grid>
        <Button Click="LogoffButton_Click" Name="LogoffButton">Выход</Button>
        <Frame Source="/Pages/FooterPage.xaml"/>
    </StackPanel>
</Page>
