Hermes/PreferencesWindow.xaml

45 lines
2.6 KiB
XML

<Window x:Class="Hermes.PreferencesWindow"
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"
Title="Options" Height="330" Width="300"
ResizeMode="NoResize"
WindowStartupLocation="CenterOwner"
Closing="Window_Closing">
<Grid Background="WhiteSmoke">
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="50"/>
</Grid.RowDefinitions>
<TabControl Grid.Row="0" Margin="5,5,5,0">
<TabItem Header="Général">
<StackPanel Margin="5,5,5,5" VerticalAlignment="Top">
<Label>Code postal :</Label>
<TextBox Name="villeCPTextBox" HorizontalAlignment="Left" VerticalContentAlignment="Center" Height="23" Width="80"/>
<Label>Ville :</Label>
<TextBox Name="villeTextBox" HorizontalAlignment="Left" VerticalContentAlignment="Center" Height="23" Width="150"/>
</StackPanel>
</TabItem>
<TabItem Header="Envoi de SMS">
<StackPanel Margin="5,5,5,5" VerticalAlignment="Top">
<Label>OVH ServiceName :</Label>
<TextBox Name="ovhSmsServiceNameTextBox" HorizontalAlignment="Left" VerticalContentAlignment="Center" Height="23" Width="250"/>
<Label>OVH ApplicationKey :</Label>
<TextBox Name="ovhSmsApplicationKeyTextBox" HorizontalAlignment="Left" VerticalContentAlignment="Center" Height="23" Width="250"/>
<Label>OVH ApplicationSecret :</Label>
<TextBox Name="ovhSmsApplicationSecretTextBox" HorizontalAlignment="Left" VerticalContentAlignment="Center" Height="23" Width="250"/>
<Label>OVH ConsumerKey :</Label>
<TextBox Name="ovhSmsConsumerKeyTextBox" HorizontalAlignment="Left" VerticalContentAlignment="Center" Height="23" Width="250"/>
</StackPanel>
</TabItem>
</TabControl>
<WrapPanel Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,5,0">
<Button Height="25" Margin="0,0,10,0" Width="100" IsDefault="True" Click="Enregistrer_Click">Enregister</Button>
<Button Height="25" Width="100" Click="Annuler_Click">Annuler</Button>
</WrapPanel>
</Grid>
</Window>