Retail_manager/RMWPFUserInterface/Views/LoginView.xaml
2022-07-08 16:27:24 +02:00

47 lines
2.0 KiB
XML

<UserControl x:Class="RMWPFUserInterface.Views.LoginView"
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:RMWPFUserInterface.Views"
mc:Ignorable="d" Background="White" FontSize="24"
d:DesignHeight="425" d:DesignWidth="800">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="auto" />
<ColumnDefinition Width="auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="2" Margin="0 0 0 20"
HorizontalAlignment="Center" FontSize="64" FontFamily="Segoe UI Light">
Login Form
</TextBlock>
<!-- Username row -->
<TextBlock Grid.Row="1" Grid.Column="1" Margin="0 0 10 20">
Username:
</TextBlock>
<TextBox x:Name="UserName" Grid.Row="1" Grid.Column="2" MinWidth="200" Margin="0 0 0 10"/>
<!-- Password row -->
<TextBlock Grid.Row="2" Grid.Column="1" Margin="0 0 10 20">
Password:
</TextBlock>
<PasswordBox x:Name="Password" Grid.Row="2" Grid.Column="2" MinWidth="200" Margin="0 0 0 10"/>
<!-- Login button -->
<Button Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="2" Padding="20 5"
HorizontalAlignment="Center" x:Name="LogIn">
Log in
</Button>
</Grid>
</UserControl>