Réécriture de l'envoi de SMS (OVH) + Ajout d'une fonction d'import depuis des fichiers Excel + Ajout d'une donnée pour le numéro d'appartement.

This commit is contained in:
2020-12-28 00:24:12 +01:00
parent 22de04c0c9
commit f4aac126eb
24 changed files with 778 additions and 193 deletions

33
ImportWindow.xaml Normal file
View File

@@ -0,0 +1,33 @@
<Window x:Class="Hermes.ImportWindow"
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:Hermes"
mc:Ignorable="d"
ResizeMode="NoResize"
WindowStartupLocation="CenterOwner"
Title="Importer" Height="310" Width="230"
Closing="Window_Closing">
<Grid Background="WhiteSmoke">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="45"/>
</Grid.RowDefinitions>
<StackPanel Grid.Row="0" Margin="5,5,5,0">
<Label>Feuille à importer :</Label>
<ComboBox Name="sheetComboBox" Height="23"/>
<Label>Quartier à définir</Label>
<TextBox Name="quartierTextBox" VerticalContentAlignment="Center" Height="23"/>
<Label>Nom de rue à définir</Label>
<TextBox Name="adresseTextBox" VerticalContentAlignment="Center" Height="23"/>
<Label>Bâtiment à définir</Label>
<TextBox Name="batimentTextBox" VerticalContentAlignment="Center" Height="23"/>
<WrapPanel>
<Label>Résidence</Label>
<CheckBox Name="residenceCheckBox" VerticalAlignment="Center"/>
</WrapPanel>
</StackPanel>
<Button Name="importButton" IsDefault="true" Grid.Row="1" Width="100" Height="25" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,5,0" Click="Importer_Click">Importer</Button>
</Grid>
</Window>