116 lines
4.2 KiB
XML
116 lines
4.2 KiB
XML
<Window
|
|
x:Class="BeWo.View.PasswortAenderungsView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
Title="PasswortAenderungsView"
|
|
Width="340"
|
|
Height="230"
|
|
AllowsTransparency="True"
|
|
Background="Transparent"
|
|
ResizeMode="NoResize"
|
|
WindowStartupLocation="CenterScreen"
|
|
WindowStyle="None">
|
|
<Grid>
|
|
<GroupBox
|
|
x:Name="rootGroupBox"
|
|
Header="Passwort ändern"
|
|
MouseLeftButtonDown="RootGroupBox_OnMouseLeftButtonDown"
|
|
Style="{DynamicResource MainContentGroupBoxWithoutMaximizeBtnStyle}">
|
|
<Grid Background="{StaticResource ObjectEditBackgroundBrush}">
|
|
<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="*" />
|
|
</Grid.ColumnDefinitions>
|
|
<TextBlock
|
|
x:Name="textblock_editFailures"
|
|
Grid.Row="0"
|
|
Grid.Column="0"
|
|
Grid.ColumnSpan="2"
|
|
Height="30"
|
|
Margin="3"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
FontSize="12"
|
|
Foreground="Red"
|
|
TextWrapping="Wrap" />
|
|
<Label
|
|
Grid.Row="1"
|
|
Grid.Column="0"
|
|
Margin="3"
|
|
Content="Altes Passwort" />
|
|
<PasswordBox
|
|
x:Name="AltesPwBox"
|
|
Grid.Row="1"
|
|
Grid.Column="1"
|
|
Margin="3"
|
|
VerticalContentAlignment="Center"
|
|
PasswordChanged="AltesPWgeaendert" />
|
|
|
|
|
|
|
|
<Label
|
|
Grid.Row="2"
|
|
Grid.Column="0"
|
|
Margin="3"
|
|
Content="Neues Passwort" />
|
|
<PasswordBox
|
|
x:Name="NeuesPwBox"
|
|
Grid.Row="2"
|
|
Grid.Column="1"
|
|
Margin="3"
|
|
VerticalContentAlignment="Center"
|
|
PasswordChanged="NeuesPwBox_OnPasswordChanged" />
|
|
|
|
<Label
|
|
Grid.Row="3"
|
|
Grid.Column="0"
|
|
Margin="3"
|
|
Content="Passwort bestätigen" />
|
|
<PasswordBox
|
|
x:Name="NeuesPwBox2"
|
|
Grid.Row="3"
|
|
Grid.Column="1"
|
|
Margin="3"
|
|
VerticalContentAlignment="Center" />
|
|
|
|
<Label
|
|
x:Name="passwortprüfer"
|
|
Grid.Row="4"
|
|
Grid.ColumnSpan="2"
|
|
Content="Passwort zu kurz"
|
|
Foreground="Red"
|
|
Visibility="Hidden" />
|
|
|
|
<StackPanel
|
|
Grid.Row="5"
|
|
Grid.Column="0"
|
|
Grid.ColumnSpan="2"
|
|
Margin="0,10,0,0"
|
|
HorizontalAlignment="Right"
|
|
Orientation="Horizontal">
|
|
<Button
|
|
Width="100"
|
|
Margin="3"
|
|
Click="AendernClick"
|
|
Content="OK"
|
|
IsDefault="True" />
|
|
<Button
|
|
x:Name="AbbrechenButton"
|
|
Width="100"
|
|
Margin="3"
|
|
Command="Close"
|
|
Content="Abbrechen" />
|
|
</StackPanel>
|
|
</Grid>
|
|
</GroupBox>
|
|
</Grid>
|
|
</Window>
|