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

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

+ P2PEditor can display the status of jobs, if available; Participating displays overlay while loading workspace data
+ KeySearcher can upload status for P2PEditor display

File size: 2.3 KB
Line 
1<GUI:P2PUserControl x:Class="Cryptool.P2PEditor.GUI.Controls.JobCreation"
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="186" d:DesignWidth="334" Loaded="UserControl_Loaded">
7    <Grid>
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="*" />
17            <RowDefinition Height="28" />
18        </Grid.RowDefinitions>
19       
20        <Label Content="_Name:" Target="{Binding ElementName=NameField}" Grid.Row="0" Grid.Column="0" />
21        <Label Content="Status _key:" Target="{Binding ElementName=StatusKeyField}" Grid.Row="1" Grid.Column="0" />
22        <Label Content="_Workspace:" Target="{Binding ElementName=LocalFilePathButton}" Grid.Row="2" Grid.Column="0" />
23        <Label Content="_Description:" Target="{Binding ElementName=DescriptionField}" Grid.Row="3" Grid.Column="0" />
24       
25        <TextBox Text="{Binding Name}" x:Name="NameField" Grid.Row="0" Grid.Column="1" Height="24" />
26        <TextBox Text="{Binding StatusKey}" x:Name="StatusKeyField" Grid.Row="1" Grid.Column="1" Height="24" />
27        <Grid Grid.Row="2" Grid.Column="1" Height="24">
28            <TextBox Text="{Binding LocalFilePath}" Margin="0,0,34,0" />
29            <Button Content="..." Click="BrowseFileButton_OnClick" HorizontalAlignment="Right" Width="28" x:Name="LocalFilePathButton" />
30        </Grid>
31        <TextBox Text="{Binding Description}" TextWrapping="Wrap" AcceptsReturn="True" VerticalScrollBarVisibility="Auto" Grid.Row="3" Grid.Column="1" Margin="0,2,0,0" x:Name="DescriptionField" />
32        <Button Content="_Share" Click="ShareButton_Click" HorizontalAlignment="Right" Width="80" Grid.Row="4" Grid.Column="1" Height="24" />
33    </Grid>
34</GUI:P2PUserControl>
Note: See TracBrowser for help on using the repository browser.