<Window x:Class="RównaniaKwadratowe2.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:RównaniaKwadratowe2"
        mc:Ignorable="d"
        Title="Równanie kwadratowe" Height="256" Width="348"
        ResizeMode="NoResize">
    <StackPanel Orientation="Vertical">
        <StackPanel Background="Navy">
            <TextBlock Text="Równanie kwadratowe" HorizontalAlignment="Center" Foreground="White" FontSize="30" Margin="8,8,8,8" />
        </StackPanel>
        <StackPanel Orientation="Horizontal">
            <StackPanel Orientation="Vertical" Margin="8,8,0,0">
                <TextBlock Text="a:" FontSize="15" />
                <TextBox Name="tbA" 
                         Text="1" Margin="0,4,0,0" Width="100" Height="30" FontSize="20"
                         TextChanged="TextBox_TextChanged" />
            </StackPanel>
            <StackPanel Orientation="Vertical" Margin="8,8,0,0">
                <TextBlock Text="b:" FontSize="15" />
                <TextBox Name="tbB" 
                         Text="-2" Margin="0,4,0,0" Width="100" Height="30" FontSize="20"
                         TextChanged="TextBox_TextChanged" />
            </StackPanel>
            <StackPanel Orientation="Vertical" Margin="8,8,0,0">
                <TextBlock Text="c:" FontSize="15" />
                <TextBox Name="tbC" 
                         Text="1" Margin="0,4,0,0" Width="100" Height="30" FontSize="20"
                         TextChanged="TextBox_TextChanged" />
            </StackPanel>
        </StackPanel>
        <StackPanel Orientation="Horizontal">
            <TextBlock Text="Wyniki X1:" FontSize="20" Foreground="CornflowerBlue" Margin="8,8,0,0" />
            <TextBlock Name="tbX1" Text="---" FontSize="20" Margin="8,8,0,0" />
            <TextBlock Text="X2:" FontSize="20" Foreground="CornflowerBlue" Margin="24,8,0,0" />
            <TextBlock Name="tbX2" Text="---" FontSize="20" Margin="8,8,0,0" />
        </StackPanel>
        <StackPanel Orientation="Horizontal">
            <TextBlock Text="Status:" FontSize="20" Margin="8,8,0,0" />
            <TextBlock Name="tbStatus" Text="---" FontSize="20" Margin="8,8,0,0" />
        </StackPanel>
    </StackPanel>
</Window>
