<Window x:Class="WpfApp13.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"
        mc:Ignorable="d"
        Title="FortuneBall" Height="350" Width="300">
    <Grid >
        <StackPanel>
            <Label Height=" 55" Width="300" Background="Yellow" Content="Шар ответил... " x:Name="label1" Margin="10,10,10,10"/>
            <TextBox Background="Aqua" Width="150" Height="120" x:Name="textbox" TextWrapping="Wrap" Margin="10,10,10,10"/>
            <Button Width="100" Height="80"  Content="Узнать ответ" Click="Button_Click" Margin="10,10,10,10"/>
        </StackPanel>

        <MediaElement Source="Ball.gif" Name="myMediaElement" Visibility="Visible"
     Width="300" Height="320" LoadedBehavior="Manual" UnloadedBehavior="Stop" Stretch="Fill" />
    </Grid>

</Window>
