source: trunk/CrypPlugins/P2PEditor/GUI/Controls/ConnectTab.xaml @ 1917

Last change on this file since 1917 was 1619, checked in by Paul Lelgemann, 12 years ago

+ P2PEditor: new tab, which "invites" to connect to the network

File size: 1.1 KB
Line 
1<GUI:P2PUserControl x:Class="Cryptool.P2PEditor.GUI.Controls.ConnectTab" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:GUI="clr-namespace:Cryptool.P2PEditor.GUI" xmlns:Converters="clr-namespace:Cryptool.P2PEditor.Converters" mc:Ignorable="d" d:DesignHeight="315" d:DesignWidth="359">
2        <GUI:P2PUserControl.Resources>
3                <Converters:InverseBooleanConverter x:Key="InverseBooleanConverter" />
4        </GUI:P2PUserControl.Resources>
5        <Grid>
6                <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
7                        <Image Source="..\..\images\disconnected.png" Width="200" />
8            <Button Name="ConnectButton" Content="Connect" Height="38" FontFamily="Consolas" FontSize="20" Click="ConnectButtonClick" IsEnabled="{Binding IsP2PConnecting, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}, Converter={StaticResource InverseBooleanConverter}}" />
9                </StackPanel>
10    </Grid>
11</GUI:P2PUserControl>
Note: See TracBrowser for help on using the repository browser.