ErstChanges , braucht immer noch debug ,wahrscheinlich später

This commit is contained in:
younes elhaddoury
2026-01-29 12:57:39 +01:00
parent ecff9e7374
commit 258fbd17e6
17 changed files with 788 additions and 75 deletions

View File

@@ -1,14 +1,38 @@
<Page x:Class="SkyTeam.RegistrationPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks"
Title="Registrierungsseite">
<Grid Height="346">
<Grid Margin="20">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid VerticalAlignment="Center"
HorizontalAlignment="Center" Height="300">
<StackPanel Grid.Row="0"
Orientation="Horizontal"
VerticalAlignment="Center"
Margin="0,0,0,30">
<iconPacks:PackIconMaterial Kind="AccountPlus"
Width="28"
Height="28"
Margin="0,0,10,0"/>
<StackPanel>
<TextBlock Text="Registrieren"
FontSize="22"
FontWeight="Bold"/>
<TextBlock Text="Erstellen Sie Ihren Sky Team Account"
FontSize="12"
Foreground="Gray"/>
</StackPanel>
</StackPanel>
<Grid Grid.Row="1"
VerticalAlignment="Center"
HorizontalAlignment="Center">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
@@ -18,6 +42,7 @@
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
@@ -25,33 +50,82 @@
<ColumnDefinition Width="200"/>
</Grid.ColumnDefinitions>
<Label Content="Vorname:" Grid.Row="0" Grid.Column="0" Margin="0,0,10,10"/>
<TextBox x:Name="FirstNameTextBox" Grid.Row="0" Grid.Column="1" Margin="0,0,0,10"/>
<Label Content="Vorname:"
Grid.Row="0"
Grid.Column="0"
Margin="0,0,10,10"/>
<TextBox x:Name="FirstNameTextBox"
Grid.Row="0"
Grid.Column="1"
Margin="0,0,0,10"/>
<Label Content="Nachname:" Grid.Row="1" Grid.Column="0" Margin="0,0,10,10"/>
<TextBox x:Name="LastNameTextBox" Grid.Row="1" Grid.Column="1" Margin="0,0,0,10"/>
<Label Content="Nachname:"
Grid.Row="1"
Grid.Column="0"
Margin="0,0,10,10"/>
<TextBox x:Name="LastNameTextBox"
Grid.Row="1"
Grid.Column="1"
Margin="0,0,0,10"/>
<Label Content="E-Mail:" Grid.Row="2" Grid.Column="0" Margin="0,0,10,10"/>
<TextBox x:Name="EmailTextBox" Grid.Row="2" Grid.Column="1" Margin="0,0,0,10"/>
<Label Content="E-Mail:"
Grid.Row="2"
Grid.Column="0"
Margin="0,0,10,10"/>
<TextBox x:Name="EmailTextBox"
Grid.Row="2"
Grid.Column="1"
Margin="0,0,0,10"/>
<Label Content="Telefonnummer:" Grid.Row="3" Grid.Column="0" Margin="0,0,10,10"/>
<TextBox x:Name="PhoneNumberTextBox" Grid.Row="3" Grid.Column="1" Margin="0,0,0,10"/>
<Label Content="Telefonnummer:"
Grid.Row="3"
Grid.Column="0"
Margin="0,0,10,10"/>
<TextBox x:Name="PhoneNumberTextBox"
Grid.Row="3"
Grid.Column="1"
Margin="0,0,0,10"/>
<Label Content="Stadt:" Grid.Row="4" Grid.Column="0" Margin="0,0,10,10"/>
<TextBox x:Name="CityTextBox" Grid.Row="4" Grid.Column="1" Margin="0,0,0,10"/>
<Label Content="Stadt:"
Grid.Row="4"
Grid.Column="0"
Margin="0,0,10,10"/>
<TextBox x:Name="CityTextBox"
Grid.Row="4"
Grid.Column="1"
Margin="0,0,0,10"/>
<Label Content="Land:" Grid.Row="5" Grid.Column="0" Margin="0,0,10,10"/>
<TextBox x:Name="CountryTextBox" Grid.Row="5" Grid.Column="1" Margin="0,0,0,10"/>
<Label Content="Land:"
Grid.Row="5"
Grid.Column="0"
Margin="0,0,10,10"/>
<TextBox x:Name="CountryTextBox"
Grid.Row="5"
Grid.Column="1"
Margin="0,0,0,10"/>
<Label Content="Passwort:" Grid.Row="6" Grid.Column="0" Margin="0,0,10,10"/>
<PasswordBox x:Name="PasswordBox" Grid.Row="6" Grid.Column="1" Margin="0,0,0,10"/>
<Label Content="Passwort:"
Grid.Row="6"
Grid.Column="0"
Margin="0,0,10,20"/>
<Button Content="Registrieren"
Grid.Row="6"
Width="140"
Margin="22,40,0,-20"
HorizontalAlignment="Left"
Click="RegisterButton_Click" Grid.Column="1"/>
<PasswordBox x:Name="PasswordBox"
Grid.Row="7"
Grid.ColumnSpan="2"
Margin="0,0,0,20"/>
<StackPanel Grid.Row="8"
Grid.ColumnSpan="2"
Orientation="Horizontal"
HorizontalAlignment="Center">
<Button Content="Registrieren"
Width="120"
Margin="0,0,20,0"
Click="RegisterButton_Click"/>
<Button Content="Abbrechen"
Width="120"
Click="CancelButton_Click"/>
</StackPanel>
</Grid>