Restructuration de la fonction d'envoi de SMS
This commit is contained in:
@@ -6,18 +6,34 @@
|
||||
xmlns:local="clr-namespace:Hermes"
|
||||
mc:Ignorable="d"
|
||||
ResizeMode="NoResize"
|
||||
Title="Envoi de SMS" Height="370" Width="500"
|
||||
Title="Envoi de SMS" Height="490" Width="700"
|
||||
WindowStartupLocation="CenterOwner"
|
||||
Loaded="Window_Loaded"
|
||||
Closing="Window_Closing">
|
||||
<Grid Background="WhiteSmoke">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="290"/>
|
||||
<RowDefinition Height="30"/>
|
||||
<RowDefinition Height="200"/>
|
||||
<RowDefinition Height="30"/>
|
||||
<RowDefinition Height="150"/>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<RichTextBox Margin="5" Grid.Row="0" FontSize="15" Block.LineHeight="2" VerticalScrollBarVisibility="Visible"/>
|
||||
<WrapPanel Grid.Row="1" Margin="0,0,5,0" HorizontalAlignment="Right" VerticalAlignment="Center">
|
||||
<Button Margin="0,0,10,0" Height="25" Width="100" IsDefault="True" Click="Envoyer_Click">Envoyer</Button>
|
||||
<Button Height="25" Width="100" Click="Annuler_Click">Annuler</Button>
|
||||
<Label Grid.Row="0" Margin="5,0,0,0" VerticalAlignment="Bottom">Entrez votre message</Label>
|
||||
<RichTextBox Name="messageTextBox" Margin="5,0,5,0" Grid.Row="1" FontSize="15" Block.LineHeight="2" VerticalScrollBarVisibility="Visible"/>
|
||||
<Label Grid.Row="2" Margin="5,0,0,0" VerticalAlignment="Bottom">Liste des envois</Label>
|
||||
<ListView Name="lvLog" Grid.Row="3" Margin="5,0,5,0" ScrollViewer.VerticalScrollBarVisibility="Visible">
|
||||
<ListView.View>
|
||||
<GridView>
|
||||
<GridViewColumn Header="Nom" DisplayMemberBinding="{Binding Nom}" Width="120"/>
|
||||
<GridViewColumn Header="Prénom" DisplayMemberBinding="{Binding Prenom}" Width="120"/>
|
||||
<GridViewColumn Header="Mobile" DisplayMemberBinding="{Binding Mobile}" Width="120"/>
|
||||
<GridViewColumn Header="Statut de l'envoi" DisplayMemberBinding="{Binding Status}" Width="290"/>
|
||||
</GridView>
|
||||
</ListView.View>
|
||||
</ListView>
|
||||
<WrapPanel Grid.Row="4" Margin="0,0,5,0" HorizontalAlignment="Right" VerticalAlignment="Center">
|
||||
<Button Name="envoyerButton" Margin="0,0,10,0" Height="25" Width="100" IsDefault="True" Click="Envoyer_Click">Envoyer</Button>
|
||||
<Button Name="annulerButton" Height="25" Width="100" Click="Annuler_Click">Annuler</Button>
|
||||
</WrapPanel>
|
||||
</Grid>
|
||||
</Window>
|
||||
|
||||
Reference in New Issue
Block a user