<Page x:Class="SdbS.View_Manager.Pages.MainMenu"
      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:SdbS.View_Manager.Pages"
      xmlns:n="clr-namespace:SdbS.CustomControls"
      mc:Ignorable="d" 
      d:DesignHeight="450" 
      d:DesignWidth="800">

    <Grid Background="White">



        <Label Name="label_login"
               FontSize="15"
               Margin="10"
               VerticalAlignment="Top"
               HorizontalAlignment="Center"
               Background="#FF4CB034"
               Foreground="White">

            <Label.Resources>
                <Style TargetType="Border">
                    <Setter Property="CornerRadius" Value="5"/>
                </Style>

            </Label.Resources>

        </Label>

        <Image Source="/Images/MainMenu/logo.png"
               Width="80"
               Height="80"/>


        <WrapPanel VerticalAlignment="Center"
                   HorizontalAlignment="Center"
                   ButtonBase.Click="WrapPanel_Click">

            <!--Кнопка преехода на страницу 'Станки'-->
            <n:NavButton Text="Станки"
                         Margin="0 0 90 0"
                         FontSize="15"
                         Width="110"
                         ImageSource="/Images/MainMenu/manufacturedMachines.png"
                         NavUri="/View_Manager/Pages/ManufacturedMachines.xaml"/>

            <!--Кнопка перехода на страницу 'Типы станков'-->
            <n:NavButton Text="Типы станков"
                         FontSize="15"
                         Width="110"
                         Margin="0 0 0 0"
                         ImageSource="/Images/MainMenu/type.png"
                         NavUri="/View_Manager/Pages/TypeMachines.xaml"/>

        </WrapPanel>

      
    </Grid>
</Page>
