<Window x:Class="Waehrungsrechner.MainWindow"
 
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 
        Title="Euro ↔ Pfund Rechner" Height="395" Width="532" Background="#f5f7fa" WindowStartupLocation="CenterScreen">
    <Border CornerRadius="15" Background="White" Padding="20" Margin="20" BorderBrush="#cccccc" BorderThickness="1" >
        <StackPanel VerticalAlignment="Center" HorizontalAlignment="Stretch" >

            <TextBlock Text="Betrag eingeben:" FontSize="18" Margin="0,0,0,5" Foreground="#333"/>

            <TextBox x:Name="BetragTextBox" FontSize="18" Height="35" Margin="0,0,0,15"
 
                     Padding="5" Background="#ffffff" BorderBrush="#0078D7" BorderThickness="1"
 
                     CaretBrush="#0078D7"/>

            <ComboBox x:Name="RichtungComboBox" FontSize="16" Height="35" Margin="0,0,0,15"
 
                      Background="#ffffff" BorderBrush="#0078D7" BorderThickness="1">
                <ComboBoxItem Content="Euro zu Pfund" IsSelected="True"/>
                <ComboBoxItem Content="Pfund zu Euro"/>
            </ComboBox>

            <Button Content="Umrechnen" FontSize="16" Height="40" Background="#0078D7" Foreground="White"
 
                    BorderBrush="#0078D7" BorderThickness="0" Click="Umrechnen_Click"
 
                    Cursor="Hand" Margin="0,0,0,10"/>

            <Label x:Name="ErgebnisLabel" FontSize="18" Foreground="#0078D7" Margin="0,10,0,0" HorizontalAlignment="Center"/>
        </StackPanel>
    </Border>
</Window>
 
 