<Window x:Class="CyberX8_MainPages.Views.LogoutView"
             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:CyberX8_MainPages.Views"
             xmlns:userControl="clr-namespace:CyberX8_Themes.UserControls;assembly=CyberX8_Themes"
             xmlns:customControls="clr-namespace:CyberX8_Themes.CustomControls;assembly=CyberX8_Themes"
             WindowStyle="None" AllowsTransparency="True"  Background="Transparent"
             mc:Ignorable="d" ResizeMode="NoResize"  WindowStartupLocation="CenterScreen"           
             Width="500" Height="550" Closed="Window_Closed">
    <Grid x:Name="grid1">
        <Border Width="500" Height="550" Background="#FFFFFF"  HorizontalAlignment="Left" VerticalAlignment="Top" BorderThickness="1" BorderBrush="Silver" CornerRadius="15,15,15,15">
            <Grid Margin="50 0 0 0">
                <Grid.RowDefinitions>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition />
                    <RowDefinition />
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition/>
                    <RowDefinition />
                    <RowDefinition/>
                    <RowDefinition />
                </Grid.RowDefinitions>
                <Image Source="Pack://application:,,,/Venus_Themes;Component/Resources/JetLogo.png" HorizontalAlignment="Left" Width="154" Height="14"></Image>
                <TextBlock Grid.Row="1" Text="Logout"                                       FontSize="42" FontFamily="D-DIN" Foreground="#222222" FontWeight="Bold"/>
                <TextBlock Grid.Row="2" Text="Please logout to your account." FontSize="16" FontFamily="D-DIN" Foreground="#999999"/>
                <TextBlock Grid.Row="3" Text="UserName"                                    FontSize="16"  Foreground="#666666" Padding="10 0 0 0"/>
                <Border Grid.Row="4" Height="40" Width="400" HorizontalAlignment="Left" VerticalAlignment="Top"  CornerRadius="8" Margin="0 -30 0 0"   BorderBrush="Silver" BorderThickness="1" Background="White">
                    <TextBlock FontSize="16" x:Name="userTextBlock" VerticalAlignment="Center" Padding="20 0 0 0" Foreground="Gray"/>
                </Border>

                <TextBlock Grid.Row="5" Text="Password"    FontSize="16"  Foreground="#666666" Padding="10 0 0 0"/>
                <Border Grid.Row="6" Height="40" Width="400" HorizontalAlignment="Left" VerticalAlignment="Top"  CornerRadius="8" Margin="0 -30 0 0"   BorderBrush="Silver" BorderThickness="1" Background="White">
                    <TextBlock FontSize="16" x:Name="passwordTextBlock" VerticalAlignment="Center" Padding="20 5 0 0" Foreground="Gray"/>
                </Border>

                <TextBlock Grid.Row="7" Text="Role"   FontSize="16"  Foreground="#666666" Padding="10 0 0 0"/>

                <Border Grid.Row="8" Height="40" Width="400" HorizontalAlignment="Left" VerticalAlignment="Top"  CornerRadius="8" Margin="0 -30 0 0"   BorderBrush="Silver" BorderThickness="1" Background="White">
                    <TextBlock FontSize="16" x:Name="roleTextBlock" VerticalAlignment="Center" Padding="20 0 0 0" Foreground="Gray"/>
                </Border>
                <Button Grid.Row="9" Width="400" Height="40" x:Name="logButton"  Content="Logout"        HorizontalAlignment="Left"    VerticalAlignment="Top"   Click="Login_Click" FontSize="18" Margin="0 -10 0 0"/>

            </Grid>
        </Border>

        <userControl:PathButton x:Name="closeButton" Width="15" Height="15" Cursor="Hand"
                            PathData="{StaticResource Icon_Close}" 
                            Margin="450 -500 0 0" 
                            DefaultFillBrush="DimGray"                               
                            MouseOverBrush="Red"
                            IsPressedBrush="Blue" Click="Close_Click"/>
    </Grid>
</Window>