Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <Window x:Class="Login_Form.MainWindow"
  2.        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3.        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4.        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5.        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6.        xmlns:local="clr-namespace:Login_Form"
  7.        xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
  8.        mc:Ignorable="d"
  9.        Title="MainWindow" Height="450" Width="800" WindowStartupLocation="CenterScreen" WindowStyle="None" ResizeMode="NoResize">
  10.     <Grid MouseDown="Border_MouseDown">
  11.         <Grid.Background>
  12.             <LinearGradientBrush StartPoint="0.1,0" EndPoint="0.9,1">
  13.                 <GradientStop Color="#FFE63070" Offset="1" />
  14.                 <GradientStop Color="#FFFE8704" Offset="0" />
  15.  
  16.             </LinearGradientBrush>
  17.         </Grid.Background>
  18.         <Border Height="377" VerticalAlignment="Top" Background="#100E17" MouseDown="Border_MouseDown" RenderTransformOrigin="0.507,0.509" Margin="-18,37,6,0">
  19.             <Border.RenderTransform>
  20.                 <TransformGroup>
  21.                     <ScaleTransform/>
  22.                     <SkewTransform AngleY="-0.715" AngleX="0.48"/>
  23.                     <RotateTransform Angle="8.749"/>
  24.                     <TranslateTransform X="-0.972" Y="-1.883"/>
  25.                 </TransformGroup>
  26.             </Border.RenderTransform>
  27.  
  28.         </Border>
  29.         <StackPanel Orientation="Horizontal">
  30.             <StackPanel Width="350">
  31.                 <Image Source="img/Icon1.png" Width="300" Height="260" VerticalAlignment="Top" Margin="30,30,20,30" Stretch="Fill"/>
  32.             </StackPanel>
  33.             <StackPanel Width="350">
  34.                 <StackPanel Margin="20 40">
  35.                     <TextBlock Text="User Login" Margin="20" Foreground="White" TextAlignment="Center" FontFamily="Goudy Old Style" FontSize="36" FontWeight="Bold"/>
  36.                     <StackPanel Orientation="Horizontal" Margin="10">
  37.                         <materialDesign:PackIcon Kind="User" Width="25" Height="25" Foreground="White"/>
  38.                         <TextBox x:Name="txtUsername" Margin="10 0" materialDesign:HintAssist.Hint="Enter Username / Email" Foreground="White" Width="250" BorderBrush="White" CaretBrush="#FFD94448" SelectionBrush="#FFD94448" />
  39.                     </StackPanel>
  40.                     <StackPanel Orientation="Horizontal" Margin="10">
  41.                         <materialDesign:PackIcon Kind="Lock" Width="25" Height="25" Foreground="White"/>
  42.                         <PasswordBox x:Name="txtPassword" Margin="10 0" materialDesign:HintAssist.Hint="********" Foreground="White" Width="250" BorderBrush="White" CaretBrush="#FFD94448" SelectionBrush="#FFD94448" />
  43.                     </StackPanel>
  44.                     <StackPanel Margin="10" HorizontalAlignment="Center">
  45.                         <Button Width="100" Height="40" Style="{StaticResource MaterialDesignRaisedButton}"
  46.                         materialDesign:ButtonAssist.CornerRadius="10" BorderThickness="2" BorderBrush="#D94448"
  47.                         Background="#D94448" Foreground="White" ToolTip="Login" x:Name="btnLogin" Click="BtnLogin_Click" Content="Login">
  48.  
  49.                         </Button>
  50.                     </StackPanel>
  51.                     <StackPanel>
  52.                         <TextBox FontSize="10" Foreground="White" Width="130" BorderBrush="White" CaretBrush="#FFD94448" SelectionBrush="#FFD94448" Margin="30,0" Text="New User? Sign Up here"/>
  53.                     </StackPanel>
  54.                 </StackPanel>
  55.             </StackPanel>
  56.             <StackPanel Width="100">
  57.                 <Button Margin="10 20" Style="{StaticResource MaterialDesignFloatingActionButton}" Background="{x:Null}"
  58.                  ToolTip="Close" x:Name="btnExit" Click="BtnExit_Click">
  59.                     <materialDesign:PackIcon Kind="Close" Foreground="White" Width="30" Height="30"/>
  60.                 </Button>
  61.             </StackPanel>
  62.         </StackPanel>
  63.     </Grid>
  64. </Window>