source: trunk/CrypPlugins/P2PEditor/GUI/Controls/GetNewCertificate.xaml @ 2276

Last change on this file since 2276 was 2276, checked in by kopal, 11 years ago
  • created gui to request a certificate for p2p
  • fixed a small bug not checking the password/worldname fields correctly before connecting to p2p
File size: 2.2 KB
Line 
1<GUI:P2PUserControl x:Class="Cryptool.P2PEditor.GUI.Controls.GetNewCertificate"
2             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
5             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:GUI="clr-namespace:Cryptool.P2PEditor.GUI" mc:Ignorable="d"
6             d:DesignHeight="200" d:DesignWidth="550">
7    <Grid Height="203" Width="550">
8        <Grid.ColumnDefinitions>
9            <ColumnDefinition Width="75" />
10            <ColumnDefinition Width="*" />
11        </Grid.ColumnDefinitions>
12        <Grid.RowDefinitions>
13            <RowDefinition Height="28"/>
14            <RowDefinition Height="28"/>
15            <RowDefinition Height="28" />
16            <RowDefinition Height="28" />
17            <RowDefinition Height="28" />
18            <RowDefinition Height="60*" />
19        </Grid.RowDefinitions>
20
21        <Label Content="_Please enter the data below to retrieve your own personal P2P Certificate" Target="{Binding ElementName=UsernameField}" Grid.ColumnSpan="2" />
22        <Label Content="_Username:" Target="{Binding ElementName=UsernameField}" Grid.Row="1" Grid.Column="0" />
23        <Label Content="_Email:" Target="{Binding ElementName=EmailField}" Grid.Row="2" Grid.Column="0" />
24        <Label Content="_Password:" Target="{Binding ElementName=PasswordField}" Grid.Row="3" Grid.Column="0" />
25        <Label Content="_Confirm:" Target="{Binding ElementName=ConfirmField}" Grid.Row="4" Grid.Column="0" />
26       
27        <TextBox Text="{Binding Name}" x:Name="UsernameField" Grid.Row="1" Grid.Column="1" Height="24" />
28        <TextBox Text="{Binding Name}" x:Name="EmailField" Grid.Row="2" Grid.Column="1" Height="24" />
29        <PasswordBox x:Name="PasswordField" Grid.Row="3" Grid.Column="1" Height="24" />
30        <PasswordBox x:Name="ConfirmField" Grid.Row="4" Grid.Column="1" Height="24" />
31       
32        <Button Name="RetrieveButton" Content="_Retrieve" HorizontalAlignment="Right" Width="80" Grid.Row="5" Grid.Column="1" Height="24" Click="Retrieve_Click" Margin="0,17,12,22" />
33    </Grid>
34</GUI:P2PUserControl>
Note: See TracBrowser for help on using the repository browser.