OSDN Git Service

Boost.MSMでメニュー部分を実装
[shooting3/shootinggame.git] / ShootingGame / MenuPage.xaml
1 <common:LayoutAwarePage
2     x:Name="pageRoot"
3     x:Class="ShootingGame.MenuPage"
4     DataContext="{Binding DefaultViewModel, RelativeSource={RelativeSource Self}}"
5     IsTabStop="false"
6     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
7     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
8     xmlns:local="using:ShootingGame"
9     xmlns:common="using:ShootingGame.Common"
10     xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
11     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
12     mc:Ignorable="d">
13
14     <Page.Resources>
15
16         <!-- TODO: Delete this line if the key AppName is declared in App.xaml -->
17         <x:String x:Key="AppName">My Application</x:String>
18     </Page.Resources>
19     <Grid HorizontalAlignment="Left" Height="768" VerticalAlignment="Top" Width="1366">
20         <Button x:Name="StartButton" Content="ゲーム開始" HorizontalAlignment="Center" Height="75" Margin="470,220,464,473" VerticalAlignment="Center" Width="432" Click="Button_Click_2" FontSize="24"/>
21         <Button x:Name="EditSoundButton" Content="サウンド編集" HorizontalAlignment="Center" Height="75" Margin="470,316,464,377" VerticalAlignment="Center" Width="432" FontSize="24" Click="EditSoundButton_Click"/>
22         <Button x:Name="EditPosition" Content="配置エディタ" HorizontalAlignment="Center" Height="75" Margin="470,412,464,281" VerticalAlignment="Center" Width="432" FontSize="24"/>
23     </Grid>
24
25     <!--
26         This grid acts as a root panel for the page that defines two rows:
27         * Row 0 contains the back button and page title
28         * Row 1 contains the rest of the page layout
29     -->
30 </common:LayoutAwarePage>