<Window x:Class="EdecBeispielClient.MainWindow"
        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"
        mc:Ignorable="d"
        Title="Edec Demo Client"
        Height="670"
        Width="920"
        MinWidth="550"
        MinHeight="320"
        WindowStartupLocation="CenterScreen">
    <Grid>
        <Label Content="Soap Envelope"
               Width="96"
               Height="28"
               Margin="20,25,0,0"
               HorizontalAlignment="Left"
               VerticalAlignment="Top" />
        <TextBox x:Name="soapEnvBox"
                 Height="28"
                 Padding="4"
                 Margin="121,25,190,0"
                 VerticalContentAlignment="Center"
                 VerticalAlignment="Top"
                 TabIndex="1" />
        <Button x:Name="changeSoapEnvBtn"
                Content="Change..."
                HorizontalContentAlignment="Center"
                Click="SelectSoapEnvelopePath"
                Margin="0,25,100,0"
                HorizontalAlignment="Right"
                Width="75"
                VerticalAlignment="Top"
                Height="28"
                TabIndex="2" />
        <TextBox x:Name="endpointComboBox"
                  Padding="4"
                  Margin="121,65,190,0"
                  VerticalAlignment="Top"
                  Height="28"
                  TabIndex="3"
                  IsTabStop="True"
                  AllowDrop="True" />
        <Button x:Name="sendBtn"
                Content="Send"
                HorizontalAlignment="Right"
                Margin="0,145,25,0"
                VerticalAlignment="Top"
                Width="150"
                Height="28"
                Click="SendRequest"
                TabIndex="8" />
        <TextBox x:Name="responseOutputTextBox"
                 TextWrapping="Wrap"
                 Padding="4"
                 Text=""
                 AcceptsReturn="True"
                 Margin="20,220,115,35"
                 VerticalScrollBarVisibility="Auto"
                 ScrollViewer.CanContentScroll="True"
                 TextOptions.TextFormattingMode="Display"
                 FontFamily="Consolas"
                 IsReadOnly="True"
                 IsUndoEnabled="False"
                 AllowDrop="False"
                 TabIndex="9" />
        <Button x:Name="saveAsBtn"
                Content="Save as..."
                HorizontalAlignment="Right"
                Margin="0,0,25,35"
                Width="75"
                Click="SaveResponseToFile"
                Height="28"
                VerticalAlignment="Bottom"
                TabIndex="11" />
        <Button x:Name="copyBtn"
                Content="Copy"
                HorizontalAlignment="Right"
                Margin="0,0,25,75"
                Width="75"
                Height="28"
                VerticalAlignment="Bottom"
                TabIndex="10"
                ToolTip="Copies the response"
                Click="CopyResponseToClipboard" />
        <TextBox x:Name="certBox"
                 Padding="4"
                 Height="28"
                 Margin="121,105,190,0"
                 TextWrapping="Wrap"
                 VerticalAlignment="Top"
                 TabIndex="5" />
        <Button x:Name="changeCertBtn"
                Content="Change..."
                HorizontalAlignment="Right"
                Margin="0,105,100,0"
                VerticalAlignment="Top"
                Width="75"
                Height="28"
                Click="SelectCertificatePath"
                TabIndex="6" />
        <PasswordBox x:Name="pwBox"
                     HorizontalAlignment="Left"
                     Padding="4"
                     Margin="121,145,0,0"
                     VerticalAlignment="Top"
                     Width="250"
                     Height="28"
                     TabIndex="7" />
        <Label Content="Certificate"
               HorizontalAlignment="Left"
               Height="28"
               Margin="20,105,0,0"
               VerticalAlignment="Top"
               Width="96" />
        <Label Content="Service URL"
               Width="96"
               Height="28"
               Margin="20,65,0,0"
               HorizontalAlignment="Left"
               VerticalAlignment="Top" />
        <Rectangle Fill="#FF7C7C7C"
                   Height="1"
                   Margin="20,195,20,0"
                   Stroke="#FF7C7C7C"
                   VerticalAlignment="Top" />
        <Label Content="Cert PW"
               HorizontalAlignment="Left"
               Height="28"
               Margin="20,145,0,0"
               VerticalAlignment="Top"
               Width="96" />
        <StatusBar VerticalAlignment="Bottom">
            <StatusBarItem>
                <TextBlock x:Name="statusBarTextBlock" />
            </StatusBarItem>
        </StatusBar>

    </Grid>
</Window>
