mirror of
https://github.com/onyx-and-iris/Lottery.git
synced 2024-11-23 22:50:47 +00:00
Thunberball added to KindOfLotto
This commit is contained in:
parent
7ce6d550ea
commit
828b5171d7
@ -5,5 +5,6 @@
|
||||
Uk,
|
||||
Euro,
|
||||
SetForLife,
|
||||
Thunderball,
|
||||
}
|
||||
}
|
||||
|
@ -7,9 +7,9 @@
|
||||
<VerticalStackLayout
|
||||
Padding="30,0"
|
||||
Spacing="25">
|
||||
<Picker x:Name="LottoPicker" Title="Kind of Lotto" SelectedIndexChanged="LottoPicker_SelectedIndexChanged" />
|
||||
<Picker x:Name="LottoPicker" Title="Kind of Lottery" SelectedIndexChanged="LottoPicker_SelectedIndexChanged" />
|
||||
|
||||
<Label x:Name="Numbers" Text="Numbers: (Click Spin button to generate)" />
|
||||
<Label x:Name="NumbersLabel" Text="Click Spin button to generate" HorizontalOptions="Center" FontSize="Medium" />
|
||||
|
||||
<Button x:Name="SpinButton" Text="Spin" Clicked="SpinButton_Clicked"/>
|
||||
</VerticalStackLayout>
|
||||
|
6
Lottery/Numbers.cs
Normal file
6
Lottery/Numbers.cs
Normal file
@ -0,0 +1,6 @@
|
||||
namespace Lottery
|
||||
{
|
||||
internal record Numbers(KindOfLotto Kind, List<int> Normal);
|
||||
|
||||
internal record NumbersWithSpecial(KindOfLotto Kind, List<int> Normal, List<int> Special) : Numbers(Kind, Normal);
|
||||
}
|
Loading…
Reference in New Issue
Block a user