<Window x:Class="WpfApp1.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:WpfApp1"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800">
    <Grid>
        <!--
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
            <Label Content="_Név:" Target="{Binding ElementName=textBox1}"></Label>
            <TextBox x:Name="textBox1" Width="300" Height="30"></TextBox>
            
            
        </StackPanel>
        <StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Bottom">
        <TextBlock Text="Neme: "></TextBlock>
        <TextBlock Text="Neme: "></TextBlock>

        <RadioButton GroupName="Nem" Content="Nő"></RadioButton>
        <RadioButton GroupName="Nem" Content="Férfi"></RadioButton>
        <Separator></Separator>
        <TextBlock Text="Kedvenc évszak: "></TextBlock>
        <RadioButton GroupName="Evszak" Content="Tavasz" IsChecked="True"></RadioButton>
        <RadioButton GroupName="Evszak" Content="Nyár"></RadioButton>
        <RadioButton GroupName="Evszak" Content="Ősz"></RadioButton>
        <RadioButton GroupName="Evszak" Content="Tél"></RadioButton>
        </StackPanel>

        <StackPanel>
            <TextBlock Text="Válassza ki az alábi listából a kedvenc tantárgyait:"></TextBlock>
            <CheckBox Content="Informatika"></CheckBox>
            <CheckBox Content="Fizika" IsChecked="True" IsEnabled="False"></CheckBox>
            <CheckBox Content="Matematika"></CheckBox>
            <CheckBox Content="Kémia"></CheckBox>
            <TextBox VerticalScrollBarVisibility="Visible" TextWrapping="Wrap" Text="Tördelhető szöveg" Height="100"></TextBox>
            <TextBlock Text="Jó hosszú szöveg" TextWrapping="Wrap" Width="40"></TextBlock>
            <ListBox x:Name="Lista" SelectionMode="Extended">
                <ListBoxItem>Alma</ListBoxItem>
                <ListBoxItem>Körte</ListBoxItem>
                <ListBoxItem>Barack</ListBoxItem>
                <ListBoxItem>Szőlő</ListBoxItem>
            </ListBox>
            <Button x:Name="Nyomogomb" Content="Bezár" Margin="200 200 200 200" Click="Nyomogomb_Click"></Button>
            
        </StackPanel>
        -->
        <!--
        <StackPanel Orientation="Horizontal" VerticalAlignment="Top">
            <ListBox x:Name="Lista" SelectionMode="Extended">
                <ListBoxItem>Alma</ListBoxItem>
                <ListBoxItem>Körte</ListBoxItem>
                <ListBoxItem>Barack</ListBoxItem>
                <ListBoxItem>Szőlő</ListBoxItem>
            </ListBox>
            <Button x:Name="rendezoGomb" Width="50" Height="20" Margin="30" Content="Rendez" Click="rendezoGomb_click"></Button>
        </StackPanel>
        -->
        <StackPanel Orientation="Horizontal" VerticalAlignment="Top">
            <ComboBox x:Name="lenyilolista" Width="150" Height="30">
                <ComboBoxItem Content="Budapest"/>
                <ComboBoxItem Content="Eger"/>
                <ComboBoxItem Content="Békéscsaba"/>
                <ComboBoxItem Content="Balassagyarmat"/>
                <ComboBoxItem Content="Gyula"/>
                <ComboBoxItem Content="Szeged"/>
                <ComboBoxItem Content="Nyíregyháza"/>
            </ComboBox>
            <TextBox x:Name="szovegDoboz" Height="25" Width="150"/>
                <Button x:Name="felvitelGomb" Width="100" Height="25" Content="Új város felvitele" Click="felvetelGomb_Click" Margin="5 0 5 0"/>
            <Button x:Name="torlesGomb" Height="25" Content="Város törlése" Click="torlesGomb_Click" Margin="5 0 5 0"/>
        </StackPanel>

        <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Margin="10">
            <Label x:Name="Cimke" Content="Kezdeti szöveg" FontSize="16" Margin="0 0 0 10"></Label>
            <Button Content="Változtass szöveget" Width="150" Height="30" Click="Gomb_Click"></Button>
        </StackPanel>
    </Grid>
</Window>
