

Nextrek
@ HEAD
Nextrek / Windows8 / Minstrek / DimensioneParallela / App1 / MainPage.xaml
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 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 |
<Page x:Class="App1.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:App1" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"> <Page.Resources> <Style x:Key="DeleteAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}"> <Setter Property="AutomationProperties.AutomationId" Value="DeleteAppBarButton" /> <Setter Property="AutomationProperties.Name" Value="Delete" /> <Setter Property="Content" Value="" /> </Style> </Page.Resources> <Viewbox> <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}" Margin="10"> <Grid HorizontalAlignment="Center" VerticalAlignment="Center" Height="768" Margin="0,0,0,0" Width="1366" Background="Black" RenderTransformOrigin="-0.005,0.518"/> <Grid x:Name="Output"> <StackPanel Orientation="Vertical" Margin="0,10,10,10" HorizontalAlignment="Center" Width="1366"> <StackPanel x:Name="topPanel" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center"> <Image x:Name="imgTop" Source="{Binding topImage}" Width="640" Margin="5,0,0,0" Height="496" VerticalAlignment="Center" /> <Canvas Width="670" Height="460"> <Canvas.Background> <ImageBrush ImageSource="cornice.png" ></ImageBrush> </Canvas.Background> <ScrollViewer x:Name="scroller" Height="380" Width="670" Canvas.Top="40"> <TextBlock x:Name="testoTop" FontSize="35" Width="580" TextAlignment="Left" TextWrapping="Wrap" Foreground="Wheat" Margin="40,0,40,40" Text="{Binding text}"> </TextBlock> </ScrollViewer> </Canvas> </StackPanel> <StackPanel x:Name="buttonPanel1" Visibility="Visible" HorizontalAlignment="Center" Margin="5,0,0,0"> <Button x:Name="button11" Width="1320" Height="250" FontSize="100" Foreground="Black" Click="button11_Click"> <Button.Background> <ImageBrush ImageSource="images/bkimag.jpg" /> </Button.Background> <TextBlock x:Name="textB11" Text="{Binding bottoni[0].testo }" TextWrapping="Wrap" ></TextBlock> </Button> </StackPanel> <StackPanel x:Name="buttonPanel2" Orientation="Horizontal" Visibility="Collapsed" HorizontalAlignment="Center" Margin="5,0,0,0"> <Button x:Name="button21" Width="660" Height="250" FontSize="50" Foreground="Black" Click="button21_Click"> <Button.Background> <ImageBrush ImageSource="images/bkimag.jpg" /> </Button.Background> <TextBlock x:Name="textB21" Text="{Binding bottoni[0].testo }" TextWrapping="Wrap" ></TextBlock> </Button> <Button x:Name="button22" Width="660" Height="250" FontSize="50" Foreground="Black" Click="button22_Click"> <Button.Background> <ImageBrush ImageSource="images/bkimag.jpg" /> </Button.Background> <TextBlock x:Name="textB22" Text="{Binding bottoni[1].testo }" TextWrapping="Wrap" ></TextBlock> </Button> </StackPanel> <StackPanel x:Name="buttonPanel3" Orientation="Horizontal" Visibility="Collapsed" HorizontalAlignment="Center" Margin="5,0,0,0"> <Button x:Name="button31" Width="440" Height="250" FontSize="30" Foreground="Black" Click="button31_Click"> <Button.Background> <ImageBrush ImageSource="images/bkimag.jpg" /> </Button.Background> <TextBlock x:Name="textB31" Text="{Binding bottoni[0].testo }" TextWrapping="Wrap" ></TextBlock> </Button> <Button x:Name="button32" Width="440" Height="250" FontSize="30" Foreground="Black" Click="button32_Click"> <Button.Background> <ImageBrush ImageSource="images/bkimag.jpg" /> </Button.Background> <TextBlock x:Name="textB32" Text="{Binding bottoni[1].testo }" TextWrapping="Wrap" ></TextBlock> </Button> <Button x:Name="button33" Width="440" Height="250" FontSize="30" Foreground="Black" Click="button33_Click"> <Button.Background> <ImageBrush ImageSource="images/bkimag.jpg" /> </Button.Background> <TextBlock x:Name="textB33" Text="{Binding bottoni[2].testo }" TextWrapping="Wrap" ></TextBlock> </Button> </StackPanel> <StackPanel x:Name="buttonPanel4" Orientation="Vertical" Visibility="Collapsed" HorizontalAlignment="Center" Margin="5,0,0,0"> <StackPanel Orientation="Horizontal"> <Button x:Name="button41" Width="660" Height="125" FontSize="18" Foreground="Black" Click="button41_Click"> <Button.Background> <ImageBrush ImageSource="images/bkimag.jpg" /> </Button.Background> <TextBlock x:Name="textB41" Text="{Binding bottoni[0].testo }" TextWrapping="Wrap" ></TextBlock> </Button> <Button x:Name="button42" Width="660" Height="125" FontSize="18" Foreground="Black" Click="button42_Click"> <Button.Background> <ImageBrush ImageSource="images/bkimag.jpg" /> </Button.Background> <TextBlock x:Name="textB42" Text="{Binding bottoni[1].testo }" TextWrapping="Wrap" ></TextBlock> </Button> </StackPanel> <StackPanel Orientation="Horizontal"> <Button x:Name="button43" Width="660" Height="125" FontSize="18" Foreground="Black" Click="button43_Click"> <Button.Background> <ImageBrush ImageSource="images/bkimag.jpg" /> </Button.Background> <TextBlock x:Name="textB43" Text="{Binding bottoni[2].testo }" TextWrapping="Wrap" ></TextBlock> </Button> <Button x:Name="button44" Width="660" Height="125" FontSize="18" Foreground="Black" Click="button44_Click"> <Button.Background> <ImageBrush ImageSource="images/bkimag.jpg" /> </Button.Background> <TextBlock x:Name="textB44" Text="{Binding bottoni[3].testo }" TextWrapping="Wrap" ></TextBlock> </Button> </StackPanel> </StackPanel> <!--<Border BorderBrush="Blue" BorderThickness="5" Width="1320" Height="260" Margin="0,-10,0,0"> </Border>--> </StackPanel> <!--<Canvas x:Name="replay" Visibility="Collapsed"> <Canvas.Background> <ImageBrush ImageSource="sfondoFine.png" Stretch="UniformToFill" /> </Canvas.Background> <StackPanel Margin="0,420,0,0" Orientation="Vertical" Width="1366"> <TextBlock HorizontalAlignment="Center" FontSize="68" FontWeight="Bold" Foreground="Wheat">Vuoi fare un'altra partita?</TextBlock> <StackPanel Margin="0,40,0,0" Orientation="Horizontal" HorizontalAlignment="Center"> <Button x:Name="botSi" Width="500" Height="200" Click="botSi_Click"> <TextBlock FontSize="70" Foreground="Wheat">SI</TextBlock> </Button> <Button x:Name="botNo" Width="500" Height="200" Click="botNo_Click"> <TextBlock FontSize="70" Foreground="Wheat">NO, ESCI</TextBlock> </Button> </StackPanel> </StackPanel> </Canvas>--> <Canvas x:Name="blackCanvas" Background="Black" Visibility="Collapsed"></Canvas> <Canvas x:Name="credits" Visibility="Collapsed" Width="800"> <!-- <Canvas.Background> <ImageBrush ImageSource="Credits.png" Stretch="None" /> </Canvas.Background>--> <Grid Width="800" Background="#AA000000" VerticalAlignment="Center" Height="700" > <Grid.RowDefinitions> <RowDefinition Height="6*"></RowDefinition> <RowDefinition Height="*"></RowDefinition> <RowDefinition Height="*"></RowDefinition> <RowDefinition Height="*"></RowDefinition> <RowDefinition Height="*"></RowDefinition> <RowDefinition Height="*"></RowDefinition> <RowDefinition Height="*"></RowDefinition> <RowDefinition Height="*"></RowDefinition> <RowDefinition Height="*"></RowDefinition> </Grid.RowDefinitions> <TextBlock TextAlignment="Center" FontSize="70" Grid.Row="0" FontWeight="Bold" Margin="0,50,0,0" Grid.RowSpan="2" >Fine del gioco.</TextBlock> <TextBlock TextAlignment="Center" FontSize="30" Grid.Row="1" >Storia e disegni : Marco Dominici</TextBlock> <TextBlock TextAlignment="Center" FontSize="30" Grid.Row="2" >Project Leader : Bruce Wayne</TextBlock> <TextBlock TextAlignment="Center" FontSize="30" Grid.Row="3" >Devolepment lead : Marco Oliva</TextBlock> <TextBlock TextAlignment="Center" FontSize="30" Grid.Row="4" >Devolepers : Lorenzo Tardio, John Moeses Bauan</TextBlock> <TextBlock TextAlignment="Center" FontSize="30" Grid.Row="5" >Server side : John Moeses Bauan</TextBlock> <TextBlock TextAlignment="Center" FontSize="30" Grid.Row="6" >Quality Assurance : Maurizia Fazzari</TextBlock> </Grid> <Button x:Name="closeBut" Width="93" Style="{StaticResource DeleteAppBarButtonStyle}" Height="64" Canvas.Left="686" Canvas.Top="14" Click="closeBut_Click"> <!--<Button.Background> <ImageBrush ImageSource="appbar.close.rest.png" /> </Button.Background>--> </Button> </Canvas> </Grid> </Grid> </Viewbox> </Page> |