-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharchivage.xaml
50 lines (46 loc) · 2.56 KB
/
archivage.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<Window x:Class="OverridingLogicalTree.archivage"
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:OverridingLogicalTree"
mc:Ignorable="d"
Title="Archiver les données" Height="400" Width="600">
<DockPanel>
<!-- Styles for consistency -->
<DockPanel.Resources>
<Style TargetType="Button">
<Setter Property="Height" Value="30"/>
<Setter Property="Width" Value="200"/>
<Setter Property="HorizontalAlignment" Value="Left"/>
<Setter Property="Margin" Value="5"/>
<Setter Property="FontSize" Value="14"/>
</Style>
</DockPanel.Resources>
<!-- Header Section -->
<StackPanel DockPanel.Dock="Top" Margin="10" HorizontalAlignment="Center">
<TextBlock FontSize="20" FontWeight="Bold" Foreground="Blue">Archiver les données</TextBlock>
</StackPanel>
<!-- Selection section -->
<StackPanel DockPanel.Dock="Top" Margin="10" HorizontalAlignment="Center">
<TextBlock FontSize="14" Foreground="Orange">Veuillez choisir le type de données à archiver</TextBlock>
<ComboBox Name="dataTypeComboBox" Margin="5" Width="250">
<ComboBoxItem Content="Pistes d'audit"/>
<ComboBoxItem Content="Données d'encaissements"/>
<ComboBoxItem Content="Données d'encaissement avant purge"/>
</ComboBox>
</StackPanel>
<!-- Date selection section -->
<StackPanel DockPanel.Dock="Top" Margin="10" Orientation="Horizontal" HorizontalAlignment="Center">
<TextBlock Text="Date Début:" VerticalAlignment="Center" Margin="5"/>
<DatePicker Name="startDatePicker" Margin="5"/>
<TextBlock Text="Date Fin:" VerticalAlignment="Center" Margin="5"/>
<DatePicker Name="endDatePicker" Margin="5"/>
</StackPanel>
<!-- Button actions -->
<StackPanel DockPanel.Dock="Bottom" Margin="10" HorizontalAlignment="Center" Orientation="Horizontal">
<Button Name="buttonArchive" Content="Archiver" Background="Red" Foreground="White"/>
<Button Name="buttonExport" Content="Exporter" Background="Gray" Foreground="White" IsEnabled="False" Margin="10,0,0,0"/>
</StackPanel>
</DockPanel>
</Window>