2022-09-19 09:16:33 +08:00
|
|
|
<Window x:Class="SicUI.EditorPassChangeView"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
xmlns:controls="clr-namespace:OpenSEMI.Ctrlib.Controls;assembly=MECF.Framework.UI.Client"
|
|
|
|
xmlns:local="clr-namespace:SicUI"
|
|
|
|
mc:Ignorable="d"
|
2022-09-26 10:49:29 +08:00
|
|
|
Title="Password Change"
|
|
|
|
Height="200"
|
|
|
|
Width="365" Topmost="True"
|
|
|
|
WindowStartupLocation="CenterScreen"
|
|
|
|
ResizeMode="NoResize" >
|
2022-09-19 09:16:33 +08:00
|
|
|
|
|
|
|
<Grid>
|
2022-09-26 10:49:29 +08:00
|
|
|
<Grid.Resources>
|
|
|
|
|
|
|
|
<Style TargetType="PasswordBox">
|
|
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
|
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
|
|
|
<Setter Property="HorizontalAlignment" Value="Stretch"/>
|
|
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
|
|
<Setter Property="Height" Value="26"/>
|
|
|
|
<Setter Property="Margin" Value="0 0 5 0"/>
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
</Grid.Resources>
|
|
|
|
|
2022-09-19 09:16:33 +08:00
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
2022-09-26 10:49:29 +08:00
|
|
|
<ColumnDefinition Width="120" />
|
2022-09-19 09:16:33 +08:00
|
|
|
<ColumnDefinition Width="130" />
|
2022-09-26 10:49:29 +08:00
|
|
|
<ColumnDefinition Width="*" />
|
2022-09-19 09:16:33 +08:00
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<!-- 1 -->
|
|
|
|
|
|
|
|
<Border
|
|
|
|
Grid.Row="0"
|
|
|
|
Grid.Column="0"
|
|
|
|
Padding="1,1,0,0"
|
|
|
|
Background="{DynamicResource Table_BG_Title}"
|
|
|
|
BorderBrush="{DynamicResource Table_BD}"
|
|
|
|
BorderThickness="1,0,1,1">
|
|
|
|
<TextBlock
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
Foreground="{DynamicResource FG_Black}"
|
|
|
|
Text="Current Password:"
|
|
|
|
TextWrapping="Wrap" />
|
|
|
|
</Border>
|
|
|
|
<Border
|
|
|
|
Grid.Row="0"
|
|
|
|
Grid.Column="1"
|
|
|
|
Grid.ColumnSpan="2"
|
|
|
|
Padding="1,1"
|
|
|
|
Background="{Binding LLBStatusBackground}"
|
|
|
|
BorderBrush="{DynamicResource Table_BD}"
|
|
|
|
BorderThickness="1,1,1,1">
|
2022-09-26 10:49:29 +08:00
|
|
|
<PasswordBox Name="CurPass" />
|
2022-09-19 09:16:33 +08:00
|
|
|
</Border>
|
|
|
|
|
|
|
|
<!--2 -->
|
|
|
|
<Border
|
|
|
|
Grid.Row="1"
|
|
|
|
Grid.Column="0"
|
|
|
|
Padding="1,1,0,0"
|
|
|
|
Background="{DynamicResource Table_BG_Title}"
|
|
|
|
BorderBrush="{DynamicResource Table_BD}"
|
|
|
|
BorderThickness="1,0,1,1">
|
|
|
|
<TextBlock
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
Foreground="{DynamicResource FG_Black}"
|
|
|
|
Text="New Password:"
|
|
|
|
TextWrapping="Wrap" />
|
|
|
|
</Border>
|
|
|
|
<Border
|
|
|
|
Grid.Row="1"
|
|
|
|
Grid.Column="1"
|
|
|
|
Grid.ColumnSpan="2"
|
|
|
|
Padding="1,1"
|
|
|
|
Background="{Binding LLBStatusBackground}"
|
|
|
|
BorderBrush="{DynamicResource Table_BD}"
|
|
|
|
BorderThickness="1,1,1,1">
|
2022-09-26 10:49:29 +08:00
|
|
|
<PasswordBox Name="NewPass1" />
|
2022-09-19 09:16:33 +08:00
|
|
|
</Border>
|
|
|
|
|
|
|
|
<!--3 -->
|
|
|
|
<Border
|
|
|
|
Grid.Row="2"
|
|
|
|
Grid.Column="0"
|
|
|
|
Padding="1,1,0,0"
|
|
|
|
Background="{DynamicResource Table_BG_Title}"
|
|
|
|
BorderBrush="{DynamicResource Table_BD}"
|
|
|
|
BorderThickness="1,0,1,1">
|
|
|
|
<TextBlock
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
Foreground="{DynamicResource FG_Black}"
|
|
|
|
Text="Confirm Password:"
|
|
|
|
TextWrapping="Wrap" />
|
|
|
|
</Border>
|
|
|
|
<Border
|
|
|
|
Grid.Row="2"
|
|
|
|
Grid.Column="1"
|
|
|
|
Grid.ColumnSpan="2"
|
|
|
|
Padding="1,1"
|
|
|
|
Background="{Binding LLBStatusBackground}"
|
|
|
|
BorderBrush="{DynamicResource Table_BD}"
|
|
|
|
BorderThickness="1,1,1,1">
|
2022-09-26 10:49:29 +08:00
|
|
|
<PasswordBox Name="NewPass2" />
|
2022-09-19 09:16:33 +08:00
|
|
|
</Border>
|
|
|
|
<!--4 -->
|
|
|
|
<Border
|
2022-09-26 10:49:29 +08:00
|
|
|
Grid.Row="3"
|
|
|
|
Grid.Column="0"
|
|
|
|
Grid.ColumnSpan="2"
|
|
|
|
Background="{Binding LLBStatusBackground}"
|
|
|
|
BorderBrush="{DynamicResource Table_BD}"
|
|
|
|
BorderThickness="1,1,1,1">
|
2022-09-19 09:16:33 +08:00
|
|
|
|
|
|
|
</Border>
|
|
|
|
<Border
|
|
|
|
Grid.Row="3"
|
|
|
|
Grid.Column="2"
|
|
|
|
Padding="5,1,0,0"
|
|
|
|
Background="{DynamicResource Table_BG_Title}"
|
|
|
|
BorderBrush="{DynamicResource Table_BD}"
|
|
|
|
BorderThickness="0,1,1,1" >
|
|
|
|
<Button
|
2022-09-26 10:49:29 +08:00
|
|
|
Width="80"
|
|
|
|
Height="28"
|
|
|
|
Margin="0,0,0,0"
|
|
|
|
Content="Change"
|
|
|
|
Click="Button_Click"
|
2022-09-19 09:16:33 +08:00
|
|
|
HorizontalAlignment="Center"
|
2022-09-26 10:49:29 +08:00
|
|
|
VerticalAlignment="Center" />
|
2022-09-19 09:16:33 +08:00
|
|
|
</Border>
|
|
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
|
|
</Window>
|