You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
3.3 KiB
52 lines
3.3 KiB
<Window x:Class="WpfApp1.ChangerMotDePasse"
|
|
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:local="clr-namespace:WpfApp1"
|
|
mc:Ignorable="d"
|
|
Title="ChangerMotDePasse" Height="450" Width="800">
|
|
<DockPanel>
|
|
<DockPanel x:Name="Button" DockPanel.Dock="Top">
|
|
<TextBlock Text="CHANGER MOT DE PASSE" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="20" FontSize="30" FontWeight="Bold" FontFamily="Candara Light" Foreground="{StaticResource Couleur2}"/>
|
|
<Button x:Name="exit" Style="{StaticResource Button1}" HorizontalAlignment="Right" VerticalAlignment="Center" Content="x" Width="50" Height="50" FontSize="25" Click="exit_Click"></Button>
|
|
</DockPanel>
|
|
<Grid Background="{StaticResource Couleur1}">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<Grid Grid.Row="0" Margin="0,15,0,15">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<TextBlock Text="Mot de passe actuel" FontSize="12" FontFamily="{StaticResource Police2}" Height="30" MaxWidth="400" Foreground="{StaticResource Couleur3}" TextAlignment="Center" Background="{StaticResource Couleur2}" Grid.Row="0"/>
|
|
<PasswordBox Grid.Row="1" Height="30" MaxWidth="400" BorderBrush="{StaticResource Couleur3}" x:Name="ancienMdp" />
|
|
</Grid>
|
|
<Grid Grid.Row="1" Margin="0,15,0,15">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<TextBlock Text="Créez un mot de passe" FontSize="12" FontFamily="{StaticResource Police2}" Height="30" MaxWidth="400" Foreground="{StaticResource Couleur3}" TextAlignment="Center" Background="{StaticResource Couleur2}" Grid.Row="0"/>
|
|
<PasswordBox Grid.Row="1" Height="30" MaxWidth="400" BorderBrush="{StaticResource Couleur3}" x:Name="nvMdp" />
|
|
</Grid>
|
|
<Grid Grid.Row="2" Margin="0,15,0,15">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<TextBlock Text="Confirmez le mot de passe" FontSize="12" FontFamily="{StaticResource Police2}" Height="30" MaxWidth="400" Foreground="{StaticResource Couleur3}" TextAlignment="Center" Background="{StaticResource Couleur2}" Grid.Row="0"/>
|
|
<PasswordBox Grid.Row="1" Height="30" MaxWidth="400" BorderBrush="{StaticResource Couleur3}" x:Name="confMdp" />
|
|
</Grid>
|
|
<Button Grid.Row="3" Style="{StaticResource Button1}" Width="90" Height="40" Content="Valider " Margin="0,0,0,20" x:Name="valider" Click="valider_Click"/>
|
|
</Grid>
|
|
</DockPanel>
|
|
</Window>
|