Lab2 done
@ -5,19 +5,72 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:Seven__Wonders_of_the_World"
|
||||
mc:Ignorable="d"
|
||||
Title="Не отвечает(Не отвечает)" Height="600" Width="1000" MinHeight="400" MinWidth="800">
|
||||
Title="Семь чудес света(Не отвечает)" Height="600" Width="1000" MinHeight="400" MinWidth="800">
|
||||
<Grid>
|
||||
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="100*" />
|
||||
<RowDefinition Height="1000*"/>
|
||||
<RowDefinition Height="1000*"/>
|
||||
<RowDefinition Height="1000*"/>
|
||||
<RowDefinition Height="250*"/>
|
||||
<RowDefinition Height="250*"/>
|
||||
<RowDefinition Height="250*"/>
|
||||
<RowDefinition Height="250*"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="600*"/>
|
||||
<ColumnDefinition Width="600*"/>
|
||||
<ColumnDefinition Width="600*"/>
|
||||
<ColumnDefinition Width="300*"/>
|
||||
<ColumnDefinition Width="300*"/>
|
||||
<ColumnDefinition Width="600*"/>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<Button x:Name="AnsferPicture_The_Pyramid_of_Cheops" Grid.Column="0" Grid.Row="0" Background="White" Margin="5,5,5,5">
|
||||
<Image x:Name="Picture_The_Pyramid_of_Cheops" Source="Sources/The_Pyramid_of_Cheops.jpg" Stretch="UniformToFill"/>
|
||||
</Button>
|
||||
<Button x:Name="AnsferPicture_Hanging_Gardens_of_Semiramis" Grid.Column="1" Grid.Row="0" Background="White" Margin="5,5,5,5">
|
||||
<Image x:Name="Picture_Hanging_Gardens_of_Semiramis" Source="Sources/Hanging_Gardens_of_Semiramis.jpg" Stretch="UniformToFill"/>
|
||||
</Button>
|
||||
<Button x:Name="AnsferPicture_Mausoleum_in_Halicarnassus" Grid.Column="2" Grid.ColumnSpan="2" Grid.Row="0" Background="White" Margin="5,5,5,5">
|
||||
<Image x:Name="Picture_Mausoleum_in_Halicarnassus" Source="Sources/Mausoleum_in_Halicarnassus.jpg" Stretch="UniformToFill"/>
|
||||
</Button>
|
||||
<!--Описание-->
|
||||
<Viewbox Grid.Column="4" Grid.Row="0" HorizontalAlignment="Center" Margin="5,5,5,5">
|
||||
<StackPanel>
|
||||
<TextBlock Text="1) Выберите чудо света" FontSize="14" TextWrapping="Wrap"/>
|
||||
<TextBlock Text="2) Выберите изображение" FontSize="14" TextWrapping="Wrap"/>
|
||||
<TextBlock Text="3) Вы замечательны" FontSize="14" TextWrapping="Wrap"/>
|
||||
</StackPanel>
|
||||
</Viewbox>
|
||||
<Button x:Name="AnsferPicture_The_Lighthouse_of_Alexandria" Grid.Column="0" Grid.Row="1" Background="White" Margin="5,5,5,5">
|
||||
<Image x:Name="Picture_The_Lighthouse_of_Alexandria" Source="Sources/The_Lighthouse_of_Alexandria.jpg" Stretch="UniformToFill"/>
|
||||
</Button>
|
||||
<Button x:Name="AnsferPicture_The_Colossus_of_Rhodes" Grid.Column="1" Grid.Row="1" Background="White" Margin="5,5,5,5">
|
||||
<Image x:Name="Picture_The_Colossus_of_Rhodes" Source="Sources/The_Colossus_of_Rhodes.jpg" Stretch="UniformToFill"/>
|
||||
</Button>
|
||||
<Button x:Name="AnsferPicture_Statue_of_Zeus_in_Olympia" Grid.Column="2" Grid.ColumnSpan="2" Grid.Row="1" Background="White" Margin="5,5,5,5">
|
||||
<Image x:Name="Picture_Statue_of_Zeus_in_Olympia" Source="Sources/Statue_of_Zeus_in_Olympia.jpg" Stretch="UniformToFill"/>
|
||||
</Button>
|
||||
<Button x:Name="AnsferPicture_Temple_of_Artemis_of_Ephesus" Grid.Column="4" Grid.Row="1" Background="White" Margin="5,5,5,5">
|
||||
<Image x:Name="Picture_Temple_of_Artemis_of_Ephesus" Source="Sources/Temple_of_Artemis_of_Ephesus.jpg" Stretch="UniformToFill"/>
|
||||
</Button>
|
||||
|
||||
<Button x:Name="Button_The_Colossus_of_Rhodes" Grid.Column="0" Grid.Row="2" Content="Колосс Родосский" Margin="5,5,5,5" Background="#FF195A7D" Click="Button_The_Colossus_of_Rhodes_Click" ></Button>
|
||||
<Button x:Name="Button_Temple_of_Artemis_of_Ephesus" Grid.Column="0" Grid.Row="3" Content="Храм Артемиды Эфесской" Margin="5,5,5,5" Background="#FF195A7D" ></Button>
|
||||
<Button x:Name="Button_The_Lighthouse_of_Alexandria" Grid.Column="0" Grid.Row="4" Content="Александрийский маяк" Margin="5,5,5,5" Background="#FF195A7D" ></Button>
|
||||
<Button x:Name="Button_The_Pyramid_of_Cheops" Grid.Column="0" Grid.Row="5" Content="Пирамида Хеопса" Margin="5,5,5,5" Background="#FF195A7D" ></Button>
|
||||
<Button x:Name="Button_Statue_of_Zeus_in_Olympia" Grid.Column="1" Grid.Row="2" Content="Статуя Зевса в Олимпии" Margin="5,5,5,5" Background="#FF195A7D" ></Button>
|
||||
<Button x:Name="Button_Hanging_Gardens_of_Semiramis" Grid.Column="1" Grid.Row="3" Content="Висячие сады Семирамиды" Margin="5,5,5,5" Background="#FF195A7D" ></Button>
|
||||
<Button x:Name="Button_Mausoleum_in_Halicarnassus" Grid.Column="1" Grid.Row="4" Content="Галикарнасский мавзолей" Margin="5,5,5,5" Background="#FF195A7D" ></Button>
|
||||
|
||||
<Viewbox Grid.Row="4" Grid.Column="2" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="5,5,5,5">
|
||||
<Slider x:Name="vol" Maximum="1" MinHeight="50" MinWidth="200" Value="1" LargeChange="0.1" SmallChange="0.01" Height="15" />
|
||||
</Viewbox>
|
||||
|
||||
<Button x:Name="Play" Grid.Column="2" Grid.Row="2" Grid.RowSpan="2" Background="White" Margin="20,5,20,5">
|
||||
<Image x:Name="Picture_Play" Source="Sources/play.png" Stretch="UniformToFill"/>
|
||||
</Button>
|
||||
<Button x:Name="Pause" Grid.Column="3" Grid.Row="2" Grid.RowSpan="2" Background="White" Margin="20,5,20,5">
|
||||
<Image x:Name="Picture_Pause" Source="Sources/pause.png" Stretch="UniformToFill"/>
|
||||
</Button>
|
||||
</Grid>
|
||||
</Window>
|
||||
|
@ -24,5 +24,10 @@ namespace Seven__Wonders_of_the_World
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void Button_The_Colossus_of_Rhodes_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -94,5 +94,18 @@
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Sources\Hanging_Gardens_of_Semiramis.jpg" />
|
||||
<Resource Include="Sources\Mausoleum_in_Halicarnassus.jpg" />
|
||||
<Resource Include="Sources\Statue_of_Zeus_in_Olympia.jpg" />
|
||||
<Resource Include="Sources\Temple_of_Artemis_of_Ephesus.jpg" />
|
||||
<Resource Include="Sources\The_Colossus_of_Rhodes.jpg" />
|
||||
<Resource Include="Sources\The_Lighthouse_of_Alexandria.jpg" />
|
||||
<Resource Include="Sources\The_Pyramid_of_Cheops.jpg" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Sources\pause.png" />
|
||||
<Resource Include="Sources\play.png" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
After Width: | Height: | Size: 1.4 MiB |
After Width: | Height: | Size: 172 KiB |
After Width: | Height: | Size: 278 KiB |
After Width: | Height: | Size: 168 KiB |
After Width: | Height: | Size: 246 KiB |
After Width: | Height: | Size: 218 KiB |
After Width: | Height: | Size: 138 KiB |
After Width: | Height: | Size: 9.5 KiB |
After Width: | Height: | Size: 11 KiB |