Lotto_WPf/Lotto_Wpf/Lotto_Wpf/MainWindow.xaml
2025-06-16 23:03:33 +02:00

26 lines
1.2 KiB
XML

<Window x:Class="LottoNumberBoard.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Lotto Number Board" Height="600" Width="400">
<ScrollViewer VerticalScrollBarVisibility="Auto">
<DockPanel Margin="10">
<StackPanel DockPanel.Dock="Bottom" Margin="0,10,0,0">
<TextBlock Text="Selected Numbers:" FontWeight="Bold" FontSize="16" />
<TextBlock x:Name="ResultTextBlock" FontSize="14" Foreground="DarkBlue" TextWrapping="Wrap"/>
<TextBlock Text="Startgeld (€):" FontWeight="Bold" Margin="0,10,0,0"/>
<TextBox x:Name="StartgeldTextBox" Text="2000" Width="100" Margin="0,0,0,10"/>
<Button Content="Ziehen" Margin="0,10,0,0" Click="DrawButton_Click" Height="30"/>
<Button Content="Simulation starten" Margin="0,10,0,0" Click="SimulationButton_Click" Height="30"/>
</StackPanel>
<ScrollViewer DockPanel.Dock="Top">
<UniformGrid x:Name="NumberGrid" Columns="7" Rows="7" Margin="0,0,0,10"/>
</ScrollViewer>
</DockPanel>
</ScrollViewer>
</Window>