<Window x:Class="_2024._10._18_Feladat2.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"
        xmlns:local="clr-namespace:_2024._10._18_Feladat2"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800">
    <Grid>
        <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
            <Label Content="Valutaváltás" FontSize="30" Margin="0, 0, 0, 20" VerticalAlignment="Center" HorizontalAlignment="Center"></Label>
            <StackPanel Orientation="Horizontal">
                <Label Content="Add meg a valutát, amiből akarsz váltani:" FontSize="15"></Label>
                <ComboBox Name="FromCurrency" Width="70" FontSize="20">
                    <ComboBoxItem Content="HUF"/>
                    <ComboBoxItem Content="EUR"/>
                    <ComboBoxItem Content="USD"/>
                </ComboBox>
            </StackPanel>
            <StackPanel Orientation="Horizontal" Margin="0, 10, 0, 10">
                <Label Content="Add meg a valutát, amibe akarsz váltani:" FontSize="15"></Label>
                <ComboBox Name="ToCurrency" Width="70" FontSize="20">
                    <ComboBoxItem Content="HUF"/>
                    <ComboBoxItem Content="EUR"/>
                    <ComboBoxItem Content="USD"/>
                </ComboBox>
            </StackPanel>
            <StackPanel Orientation="Horizontal">
                <Label Content="Add meg az értéket:" FontSize="15"></Label>
                <TextBox Name="Mennyiseg" Width="100" FontSize="20"></TextBox>
            </StackPanel>
            <Button Content="Átváltás" FontSize="20" Margin="0, 20, 0, 0" Click="Button_Click"></Button>
            <Label Name="Kiiras" Content="" FontSize="20" HorizontalAlignment="Center"></Label>
        </StackPanel>
    </Grid>
</Window>
