magic-ball/WpfApp13/MainWindow.xaml
Mootfrost777 cc968f4440 v.0.1
Start commit. All functional. Bugs with gif.
2021-12-21 20:01:02 +03:00

19 lines
1 KiB
XML

<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>