2017-09-12 14:32:34 +02:00
|
|
|
<UserControl x:Class="ChatController.LoginControl"
|
|
|
|
|
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"
|
2020-06-17 19:36:52 +02:00
|
|
|
mc:Ignorable="d">
|
2017-09-12 14:32:34 +02:00
|
|
|
<Grid>
|
2020-06-17 19:36:52 +02:00
|
|
|
<Grid.Background>
|
|
|
|
|
<ImageBrush>
|
|
|
|
|
<ImageBrush.ImageSource>
|
|
|
|
|
<BitmapImage UriSource="Ressourcen/ownChat-Background.png" />
|
|
|
|
|
</ImageBrush.ImageSource>
|
|
|
|
|
</ImageBrush>
|
|
|
|
|
</Grid.Background>
|
|
|
|
|
|
|
|
|
|
<Grid Name="RootGrid">
|
2017-09-12 14:32:34 +02:00
|
|
|
<Grid.RowDefinitions>
|
2020-06-17 19:36:52 +02:00
|
|
|
<RowDefinition Height="*"/>
|
2017-09-12 14:32:34 +02:00
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
2020-06-17 19:36:52 +02:00
|
|
|
<ColumnDefinition Width="*"/>
|
2017-09-12 14:32:34 +02:00
|
|
|
</Grid.ColumnDefinitions>
|
2020-06-17 19:36:52 +02:00
|
|
|
<Border Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center" x:Name="GroupBoxLogin" >
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
|
<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 FontSize="15" Grid.Column="0" Grid.Row="0" Margin="3" Foreground="White">Kundennummer:</Label>
|
|
|
|
|
<TextBox FontSize="15" Grid.Column="1" Grid.Row="0" Margin="3" VerticalContentAlignment="Center" Text="{Binding Path=Tenant, UpdateSourceTrigger=PropertyChanged}"/>
|
|
|
|
|
|
|
|
|
|
<Label FontSize="15" Grid.Column="0" Grid.Row="1" Margin="3" Foreground="White">ChatCode:</Label>
|
|
|
|
|
<TextBox FontSize="15" x:Name="TextBoxChatCode" Grid.Column="1" Grid.Row="1" Margin="3" VerticalContentAlignment="Center" Text="{Binding Path=ChatCode, UpdateSourceTrigger=PropertyChanged}"/>
|
|
|
|
|
|
|
|
|
|
<Label FontSize="15" Grid.Column="0" Grid.Row="2" Margin="3" Foreground="White">Benutzername:</Label>
|
|
|
|
|
<TextBox FontSize="15" x:Name="TextBoxBenutzerName" Grid.Column="1" Grid.Row="2" Margin="3" VerticalContentAlignment="Center" Text="{Binding Path=UserName, UpdateSourceTrigger=PropertyChanged}" />
|
|
|
|
|
|
|
|
|
|
<Label FontSize="15" Grid.Column="0" Grid.Row="3" Margin="3" Foreground="White">Passwort:</Label>
|
|
|
|
|
<PasswordBox FontSize="15" x:Name="PasswordBox" Grid.Column="1" Grid.Row="3" Margin="3" VerticalContentAlignment="Center" />
|
|
|
|
|
|
|
|
|
|
<Button FontSize="15" Grid.ColumnSpan="2" Grid.Column="0" Grid.Row="5" VerticalContentAlignment="Center" Click="AnmeldenButton_OnClick" Content="Anmelden" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="3" Width="100" Height="40" Background="#ff5e00" HorizontalContentAlignment="Center" >
|
|
|
|
|
<Button.Resources>
|
|
|
|
|
<Style TargetType="{x:Type Border}">
|
|
|
|
|
<Setter Property="CornerRadius" Value="5"/>
|
|
|
|
|
<Setter Property="Padding" Value="1" />
|
|
|
|
|
</Style>
|
|
|
|
|
</Button.Resources>
|
|
|
|
|
</Button>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Border>
|
|
|
|
|
<Label HorizontalAlignment="Right" VerticalAlignment="Bottom" Foreground="White" Content="{Binding Path=Version, Mode=OneWay}" />
|
|
|
|
|
</Grid>
|
2017-09-12 14:32:34 +02:00
|
|
|
</Grid>
|
|
|
|
|
</UserControl>
|