<!-- MainWindow.xaml -->
<Window x:Class="PuzzleApp.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Шифр-головоломка"
Height="600"
Width="600"
WindowStartupLocation="CenterScreen">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="50"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<StackPanel Orientation="Horizontal"
HorizontalAlignment="Center"
Margin="0,10,0,10">
<Button x:Name="LoadBtn"
Content="Загрузить изображение"
Width="180"
Margin="5"
Click="LoadBtn_Click"/>
<Button x:Name="ShuffleBtn"
Content="Перемешать"
Width="120"
Margin="5"
Click="ShuffleBtn_Click"/>
</StackPanel>
<UniformGrid x:Name="PuzzleGrid"
Grid.Row="1"
Rows="4"
Columns="4"
Margin="5"
HorizontalAlignment="Center"
VerticalAlignment="Center"/>
</Grid>
</Window>