initialisierung der Views
This commit is contained in:
73
SkyTeam/LogInPage.xaml
Normal file
73
SkyTeam/LogInPage.xaml
Normal file
@@ -0,0 +1,73 @@
|
||||
<Page x:Class="SkyTeam.LogInPage"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="LogInPage">
|
||||
|
||||
<Grid>
|
||||
|
||||
|
||||
<TextBlock Text="Sky Team"
|
||||
FontSize="36"
|
||||
FontStyle="Oblique"
|
||||
HorizontalAlignment="Center"
|
||||
Margin="0,40,0,40"/>
|
||||
|
||||
|
||||
<Grid VerticalAlignment="Center"
|
||||
HorizontalAlignment="Center">
|
||||
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto"/>
|
||||
<ColumnDefinition Width="200"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
|
||||
<Label Content="Benutzername:"
|
||||
Grid.Row="0"
|
||||
Grid.Column="0"
|
||||
Margin="0,0,10,10"/>
|
||||
|
||||
<TextBox x:Name="BenutzernameTextBox"
|
||||
Grid.Row="0"
|
||||
Grid.Column="1"
|
||||
Margin="0,0,0,10"/>
|
||||
|
||||
|
||||
<Label Content="Passwort:"
|
||||
Grid.Row="1"
|
||||
Grid.Column="0"
|
||||
Margin="0,0,10,10"/>
|
||||
|
||||
<PasswordBox x:Name="PasswortTextBox"
|
||||
Grid.Row="1"
|
||||
Grid.Column="1"
|
||||
Margin="0,0,0,10"/>
|
||||
|
||||
|
||||
<StackPanel Grid.Row="2"
|
||||
Grid.ColumnSpan="2"
|
||||
Orientation="Horizontal"
|
||||
HorizontalAlignment="Center"
|
||||
Margin="0,20,0,0">
|
||||
|
||||
<Button Content="Login"
|
||||
Width="110"
|
||||
Margin="0,0,20,0"
|
||||
Click="LogInButton"/>
|
||||
|
||||
<Button Content="Registrieren"
|
||||
Width="110"
|
||||
Click="anmeldungsButton"/>
|
||||
</StackPanel>
|
||||
|
||||
</Grid>
|
||||
|
||||
</Grid>
|
||||
</Page>
|
||||
Reference in New Issue
Block a user