Subversion Repository Public Repository

Nextrek

Diff Revisions 28 vs 29 for /Windows8/Minstrek/John Glen/John Glen/obj/Debug/MainPage.xaml

Diff revisions: vs.
  @@ -15,97 +15,107 @@
15 15 </Style>
16 16 </Page.Resources>
17 17 <Viewbox>
18 - <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}" Margin="10">
18 + <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}" Margin="0">
19 19 <Grid HorizontalAlignment="Center" VerticalAlignment="Center" Height="768" Margin="0,0,0,0" Width="1366" Background="Black" RenderTransformOrigin="-0.005,0.518"/>
20 20 <Grid x:Name="Output">
21 - <StackPanel Orientation="Vertical" Margin="0,10,10,10" HorizontalAlignment="Center" Width="1366">
22 - <StackPanel x:Name="topPanel" Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
23 - <Image x:Name="imgTop" Source="{Binding topImage}" Width="640" Margin="5,0,0,0" Height="496" VerticalAlignment="Center" />
24 - <Canvas Width="670" Height="460">
21 + <StackPanel Orientation="Horizontal" Margin="0,0,0,0" HorizontalAlignment="Center" Width="1366" Height="768">
22 + <Image x:Name="imgIniz" Source="jon_sfondo.jpg" Margin="0,0,5,0" VerticalAlignment="Center" />
23 + <Image x:Name="imgTop" Source="{Binding topImage}" Margin="0,0,5,0" VerticalAlignment="Center" />
24 + <StackPanel x:Name="topPanel" Orientation="Vertical" VerticalAlignment="Center" HorizontalAlignment="Center">
25 +
26 + <Canvas Width="780" Height="500">
25 27 <Canvas.Background>
26 - <ImageBrush ImageSource="cornice.png" ></ImageBrush>
28 + <ImageBrush ImageSource="corniceBLU.png" ></ImageBrush>
27 29 </Canvas.Background>
28 - <ScrollViewer x:Name="scroller" Height="380" Width="670" Canvas.Top="40">
30 + <ScrollViewer x:Name="scroller" Height="420" Width="670" Canvas.Top="40" Canvas.Left="60">
29 31 <TextBlock x:Name="testoTop" FontSize="35" Width="580" TextAlignment="Center" TextWrapping="Wrap" Foreground="Wheat" Margin="40,0,40,40" Text="{Binding text}">
30 32
31 33 </TextBlock>
32 34 </ScrollViewer>
33 35 </Canvas>
34 - </StackPanel>
35 - <StackPanel x:Name="buttonPanel1" Visibility="Visible" HorizontalAlignment="Center" Margin="5,0,0,0">
36 - <Button x:ConnectionId='11' x:Name="button11" Width="1320" Height="250" FontSize="100" Foreground="Black" >
37 - <Button.Background>
38 - <ImageBrush ImageSource="images/bkimag.jpg" Stretch="UniformToFill" />
39 - </Button.Background>
40 - <TextBlock x:Name="textB11" Text="{Binding bottoni[0].testo }" TextWrapping="Wrap" ></TextBlock>
41 - </Button>
42 - </StackPanel>
43 - <StackPanel x:Name="buttonPanel2" Orientation="Horizontal" Visibility="Collapsed" HorizontalAlignment="Center" Margin="5,0,0,0">
44 - <Button x:ConnectionId='9' x:Name="button21" Width="660" Height="250" FontSize="50" Foreground="Black" >
45 - <Button.Background>
46 - <ImageBrush ImageSource="images/bkimag.jpg" />
47 - </Button.Background>
48 - <TextBlock x:Name="textB21" Text="{Binding bottoni[0].testo }" TextWrapping="Wrap" ></TextBlock>
49 - </Button>
50 - <Button x:ConnectionId='10' x:Name="button22" Width="660" Height="250" FontSize="50" Foreground="Black" >
51 - <Button.Background>
52 - <ImageBrush ImageSource="images/bkimag.jpg" />
53 - </Button.Background>
54 - <TextBlock x:Name="textB22" Text="{Binding bottoni[1].testo }" TextWrapping="Wrap" ></TextBlock>
55 - </Button>
56 - </StackPanel>
57 - <StackPanel x:Name="buttonPanel3" Orientation="Horizontal" Visibility="Collapsed" HorizontalAlignment="Center" Margin="5,0,0,0">
58 - <Button x:ConnectionId='6' x:Name="button31" Width="440" Height="250" FontSize="30" Foreground="Black" >
59 - <Button.Background>
60 - <ImageBrush ImageSource="images/bkimag.jpg" />
61 - </Button.Background>
62 - <TextBlock x:Name="textB31" Text="{Binding bottoni[0].testo }" TextWrapping="Wrap" ></TextBlock>
63 - </Button>
64 - <Button x:ConnectionId='7' x:Name="button32" Width="440" Height="250" FontSize="30" Foreground="Black" >
65 - <Button.Background>
66 - <ImageBrush ImageSource="images/bkimag.jpg" />
67 - </Button.Background>
68 - <TextBlock x:Name="textB32" Text="{Binding bottoni[1].testo }" TextWrapping="Wrap" ></TextBlock>
69 - </Button>
70 - <Button x:ConnectionId='8' x:Name="button33" Width="440" Height="250" FontSize="30" Foreground="Black" >
71 - <Button.Background>
72 - <ImageBrush ImageSource="images/bkimag.jpg" />
73 - </Button.Background>
74 - <TextBlock x:Name="textB33" Text="{Binding bottoni[2].testo }" TextWrapping="Wrap" ></TextBlock>
75 - </Button>
76 - </StackPanel>
77 - <StackPanel x:Name="buttonPanel4" Orientation="Vertical" Visibility="Collapsed" HorizontalAlignment="Center" Margin="5,0,0,0">
78 - <StackPanel Orientation="Horizontal">
79 - <Button x:ConnectionId='4' x:Name="button41" Width="660" Height="125" FontSize="18" Foreground="Black" >
36 +
37 + <StackPanel x:Name="buttonPanel1" Visibility="Visible" HorizontalAlignment="Center" Margin="5,0,0,0" Width="780">
38 + <Button x:ConnectionId='11' x:Name="button11" Width="770" Height="260" FontSize="100" Foreground="Black" >
39 + <Button.Background>
40 + <ImageBrush ImageSource="images/bkimag.jpg" Stretch="UniformToFill" />
41 + </Button.Background>
42 + <TextBlock x:Name="textB11" Text="{Binding bottoni[0].testo }" TextWrapping="Wrap" ></TextBlock>
43 + </Button>
44 + </StackPanel>
45 +
46 + <StackPanel x:Name="buttonPanel2" Orientation="Horizontal" Visibility="Collapsed" HorizontalAlignment="Center" Margin="5,0,0,0" Width="780">
47 + <Button x:ConnectionId='9' x:Name="button21" Width="390" Height="260" FontSize="35" Foreground="Black" >
80 48 <Button.Background>
81 49 <ImageBrush ImageSource="images/bkimag.jpg" />
82 50 </Button.Background>
83 - <TextBlock x:Name="textB41" Text="{Binding bottoni[0].testo }" TextWrapping="Wrap" ></TextBlock>
51 + <TextBlock x:Name="textB21" Text="{Binding bottoni[0].testo }" TextWrapping="Wrap" ></TextBlock>
84 52 </Button>
85 - <Button x:ConnectionId='5' x:Name="button42" Width="660" Height="125" FontSize="18" Foreground="Black" >
53 + <Button x:ConnectionId='10' x:Name="button22" Width="390" Height="260" FontSize="35" Foreground="Black" >
86 54 <Button.Background>
87 55 <ImageBrush ImageSource="images/bkimag.jpg" />
88 56 </Button.Background>
89 - <TextBlock x:Name="textB42" Text="{Binding bottoni[1].testo }" TextWrapping="Wrap" ></TextBlock>
57 + <TextBlock x:Name="textB22" Text="{Binding bottoni[1].testo }" TextWrapping="Wrap" ></TextBlock>
90 58 </Button>
91 59 </StackPanel>
92 - <StackPanel Orientation="Horizontal">
93 - <Button x:ConnectionId='2' x:Name="button43" Width="660" Height="125" FontSize="18" Foreground="Black" >
60 +
61 + <StackPanel x:Name="buttonPanel3" Orientation="Horizontal" Visibility="Collapsed" HorizontalAlignment="Center" Margin="5,0,0,0" Width="780">
62 + <Button x:ConnectionId='6' x:Name="button31" Width="260" Height="260" FontSize="30" Foreground="Black" >
63 + <Button.Background>
64 + <ImageBrush ImageSource="images/bkimag.jpg" />
65 + </Button.Background>
66 + <TextBlock x:Name="textB31" Text="{Binding bottoni[0].testo }" TextWrapping="Wrap" ></TextBlock>
67 + </Button>
68 + <Button x:ConnectionId='7' x:Name="button32" Width="260" Height="260" FontSize="30" Foreground="Black" >
94 69 <Button.Background>
95 70 <ImageBrush ImageSource="images/bkimag.jpg" />
96 71 </Button.Background>
97 - <TextBlock x:Name="textB43" Text="{Binding bottoni[2].testo }" TextWrapping="Wrap" ></TextBlock>
72 + <TextBlock x:Name="textB32" Text="{Binding bottoni[1].testo }" TextWrapping="Wrap" ></TextBlock>
98 73 </Button>
99 - <Button x:ConnectionId='3' x:Name="button44" Width="660" Height="125" FontSize="18" Foreground="Black" >
74 + <Button x:ConnectionId='8' x:Name="button33" Width="260" Height="260" FontSize="30" Foreground="Black" >
100 75 <Button.Background>
101 76 <ImageBrush ImageSource="images/bkimag.jpg" />
102 77 </Button.Background>
103 - <TextBlock x:Name="textB44" Text="{Binding bottoni[3].testo }" TextWrapping="Wrap" ></TextBlock>
78 + <TextBlock x:Name="textB33" Text="{Binding bottoni[2].testo }" TextWrapping="Wrap" ></TextBlock>
104 79 </Button>
105 80 </StackPanel>
81 +
82 + <StackPanel x:Name="buttonPanel4" Orientation="Vertical" Visibility="Collapsed" HorizontalAlignment="Center" Margin="5,0,0,0" Width="780" Height="260">
83 + <StackPanel Orientation="Horizontal">
84 + <Button x:ConnectionId='4' x:Name="button41" Width="390" Height="130" FontSize="18" Foreground="Black" >
85 + <Button.Background>
86 + <ImageBrush ImageSource="images/bkimag.jpg" />
87 + </Button.Background>
88 + <TextBlock x:Name="textB41" Text="{Binding bottoni[0].testo }" TextWrapping="Wrap" ></TextBlock>
89 + </Button>
90 + <Button x:ConnectionId='5' x:Name="button42" Width="390" Height="130" FontSize="18" Foreground="Black" >
91 + <Button.Background>
92 + <ImageBrush ImageSource="images/bkimag.jpg" />
93 + </Button.Background>
94 + <TextBlock x:Name="textB42" Text="{Binding bottoni[1].testo }" TextWrapping="Wrap" ></TextBlock>
95 + </Button>
96 + </StackPanel>
97 + <StackPanel Orientation="Horizontal">
98 + <Button x:ConnectionId='2' x:Name="button43" Width="390" Height="130" FontSize="18" Foreground="Black" >
99 + <Button.Background>
100 + <ImageBrush ImageSource="images/bkimag.jpg" />
101 + </Button.Background>
102 + <TextBlock x:Name="textB43" Text="{Binding bottoni[2].testo }" TextWrapping="Wrap" ></TextBlock>
103 + </Button>
104 + <Button x:ConnectionId='3' x:Name="button44" Width="390" Height="130" FontSize="18" Foreground="Black" >
105 + <Button.Background>
106 + <ImageBrush ImageSource="images/bkimag.jpg" />
107 + </Button.Background>
108 + <TextBlock x:Name="textB44" Text="{Binding bottoni[3].testo }" TextWrapping="Wrap" ></TextBlock>
109 + </Button>
110 + </StackPanel>
111 + </StackPanel>
112 +
106 113 </StackPanel>
107 - <!--<Border BorderBrush="Blue" BorderThickness="5" Width="1320" Height="260" Margin="0,-10,0,0">
108 - </Border>-->
114 +
115 +
116 +
117 +
118 +
109 119
110 120
111 121 </StackPanel>