-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStartWindow.xaml
More file actions
38 lines (38 loc) · 1.82 KB
/
StartWindow.xaml
File metadata and controls
38 lines (38 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<Window x:Class="Nonograms.NET.StartWindow"
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:Nonograms.NET"
mc:Ignorable="d"
Title="Nonograms.NET" Height="450" Width="800">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.Resources>
<Style TargetType="Button">
<Setter Property="Width" Value="200"/>
<Setter Property="Height" Value="250"/>
</Style>
</Grid.Resources>
<Label Grid.ColumnSpan="2" Grid.Row="0" HorizontalAlignment="Center" FontSize="40" Margin="0, 10, 0, 0">Welcome</Label>
<Button Grid.Row="1" Click="GotoSolve">
<StackPanel>
<TextBlock FontSize="32" HorizontalAlignment="Center">Solve</TextBlock>
<TextBlock FontSize="16" HorizontalAlignment="Center" TextWrapping="Wrap" TextAlignment="Center">Try various puzzles to uncover images</TextBlock>
</StackPanel>
</Button>
<Button Grid.Row="1" Grid.Column="1" Click="GotoCreate">
<StackPanel>
<TextBlock FontSize="32" HorizontalAlignment="Center">Create</TextBlock>
<TextBlock FontSize="16" HorizontalAlignment="Center" TextWrapping="Wrap" TextAlignment="Center">Make your own puzzles to enjoy and share</TextBlock>
</StackPanel>
</Button>
</Grid>
</Window>