<Window x:Class="Silnia.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:Silnia"
        mc:Ignorable="d"
        Title="MainWindow" Height="200" Width="300">
    <StackPanel>
        <TextBlock Text="Liczba" Margin="10" />
        <TextBox Name="tb1" Text="3" Margin="10" TextChanged="Tb1_TextChanged" />
        <!--
        <Button Content="Oblicz" Margin="10" Click="Button_Click"/>
        -->
        <TextBlock Margin="10">
            Wynik: 
            <Run Name="run1" Text="---"/>
        </TextBlock>

    </StackPanel>
</Window>
