156 lines
5.6 KiB
XML
156 lines
5.6 KiB
XML
<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"
|
|
Title="Password Change" Height="200" Width="320" Topmost="True" WindowStartupLocation="CenterScreen" ResizeMode="NoResize" >
|
|
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="35" />
|
|
<RowDefinition Height="35" />
|
|
<RowDefinition Height="35" />
|
|
<RowDefinition Height="35" />
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="70" />
|
|
<ColumnDefinition Width="130" />
|
|
<ColumnDefinition Width="100" />
|
|
</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">
|
|
<controls:TextBoxEx
|
|
Name="CurPass"
|
|
|
|
Height="26"
|
|
Margin="0,0,5,0"
|
|
HorizontalAlignment="Stretch"
|
|
VerticalAlignment="Center"
|
|
AllowBackgroundChange="False"
|
|
Text="" CharacterCasing="Lower" />
|
|
</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">
|
|
<controls:TextBoxEx
|
|
Name="NewPass1"
|
|
|
|
Height="26"
|
|
Margin="0,0,5,0"
|
|
HorizontalAlignment="Stretch"
|
|
VerticalAlignment="Center"
|
|
AllowBackgroundChange="False"
|
|
Text="" CharacterCasing="Lower" />
|
|
</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">
|
|
<controls:TextBoxEx
|
|
Name="NewPass2"
|
|
|
|
Height="26"
|
|
Margin="0,0,5,0"
|
|
HorizontalAlignment="Stretch"
|
|
VerticalAlignment="Center"
|
|
AllowBackgroundChange="False"
|
|
Text="" CharacterCasing="Lower" />
|
|
</Border>
|
|
<!--4 -->
|
|
<Border
|
|
Grid.Row="3"
|
|
Grid.Column="0"
|
|
Grid.ColumnSpan="2"
|
|
Background="{Binding LLBStatusBackground}"
|
|
BorderBrush="{DynamicResource Table_BD}"
|
|
BorderThickness="1,1,1,1">
|
|
|
|
</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
|
|
Width="80"
|
|
Height="28"
|
|
Margin="0,0,0,0"
|
|
Content="Change"
|
|
Click="Button_Click"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
/>
|
|
</Border>
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
</Window>
|