<Window x:Class="FSI.Lib.Guis.DeEncryptMessage.FrmMain"
        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:FSI.Lib.Guis.DeEncryptMessage"
        mc:Ignorable="d"
        Title="FSI Message Ent-/Verschlüsseln"
        SizeToContent="WidthAndHeight"
        Height="Auto"
        Width="Auto"
        Icon="../../Icons/FondiumU.ico">
    
    <Grid MinWidth="300">
        <Grid.RowDefinitions>
            <RowDefinition MinHeight="100" />
            <RowDefinition MinHeight="100" />
            <RowDefinition MaxHeight="30"
                           Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <TextBox x:Name="tbInput"
                 TextWrapping="Wrap"
                 AcceptsReturn="True"
                 HorizontalScrollBarVisibility="Disabled"
                 VerticalScrollBarVisibility="Auto" />
        
        <TextBox x:Name="tboutput"
                 Grid.Row="1"
                 AcceptsReturn="True"
                 HorizontalScrollBarVisibility="Disabled"
                 VerticalScrollBarVisibility="Auto" />

        <StackPanel Orientation="Horizontal"
                    Grid.Row="2">
            <Button x:Name="btnCrypt"
                    Content="verschlüsseln"
                    Margin="5 5 5 5 "
                    Click="btnCrypt_Click" />
            <Button x:Name="btnDeCrypt"
                    Content="entschlüsseln"
                    Margin="5 5 5 5 "
                    Click="btnDeCrypt_Click" />

        </StackPanel>

        <StatusBar Grid.Row="3">
            <StatusBarItem HorizontalAlignment="Right">
                <TextBlock Text="{Binding CurrentTime}" />
            </StatusBarItem>
        </StatusBar>

    </Grid>
</Window>
