<Window x:Class="Login_Form.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Login_Form"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800" WindowStartupLocation="CenterScreen" WindowStyle="None" ResizeMode="NoResize">
<Grid MouseDown="Border_MouseDown">
<Grid.Background>
<LinearGradientBrush StartPoint="0.1,0" EndPoint="0.9,1">
<GradientStop Color="#FFE63070" Offset="1" />
<GradientStop Color="#FFFE8704" Offset="0" />
</LinearGradientBrush>
</Grid.Background>
<Border Height="377" VerticalAlignment="Top" Background="#100E17" MouseDown="Border_MouseDown" RenderTransformOrigin="0.507,0.509" Margin="-18,37,6,0">
<Border.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform AngleY="-0.715" AngleX="0.48"/>
<RotateTransform Angle="8.749"/>
<TranslateTransform X="-0.972" Y="-1.883"/>
</TransformGroup>
</Border.RenderTransform>
</Border>
<StackPanel Orientation="Horizontal">
<StackPanel Width="350">
<Image Source="img/Icon1.png" Width="300" Height="260" VerticalAlignment="Top" Margin="30,30,20,30" Stretch="Fill"/>
</StackPanel>
<StackPanel Width="350">
<StackPanel Margin="20 40">
<TextBlock Text="User Login" Margin="20" Foreground="White" TextAlignment="Center" FontFamily="Goudy Old Style" FontSize="36" FontWeight="Bold"/>
<StackPanel Orientation="Horizontal" Margin="10">
<materialDesign:PackIcon Kind="User" Width="25" Height="25" Foreground="White"/>
<TextBox x:Name="txtUsername" Margin="10 0" materialDesign:HintAssist.Hint="Enter Username / Email" Foreground="White" Width="250" BorderBrush="White" CaretBrush="#FFD94448" SelectionBrush="#FFD94448" />
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="10">
<materialDesign:PackIcon Kind="Lock" Width="25" Height="25" Foreground="White"/>
<PasswordBox x:Name="txtPassword" Margin="10 0" materialDesign:HintAssist.Hint="********" Foreground="White" Width="250" BorderBrush="White" CaretBrush="#FFD94448" SelectionBrush="#FFD94448" />
</StackPanel>
<StackPanel Margin="10" HorizontalAlignment="Center">
<Button Width="100" Height="40" Style="{StaticResource MaterialDesignRaisedButton}"
materialDesign:ButtonAssist.CornerRadius="10" BorderThickness="2" BorderBrush="#D94448"
Background="#D94448" Foreground="White" ToolTip="Login" x:Name="btnLogin" Click="BtnLogin_Click" Content="Login">
</Button>
</StackPanel>
<StackPanel>
<TextBox FontSize="10" Foreground="White" Width="130" BorderBrush="White" CaretBrush="#FFD94448" SelectionBrush="#FFD94448" Margin="30,0" Text="New User? Sign Up here"/>
</StackPanel>
</StackPanel>
</StackPanel>
<StackPanel Width="100">
<Button Margin="10 20" Style="{StaticResource MaterialDesignFloatingActionButton}" Background="{x:Null}"
ToolTip="Close" x:Name="btnExit" Click="BtnExit_Click">
<materialDesign:PackIcon Kind="Close" Foreground="White" Width="30" Height="30"/>
</Button>
</StackPanel>
</StackPanel>
</Grid>
</Window>