-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGatcha.xaml
40 lines (37 loc) · 2.03 KB
/
Gatcha.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
<Page x:Class="Gatta_Time.Gatcha"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:Gatta_Time"
mc:Ignorable="d"
d:DesignHeight="900" d:DesignWidth="1600"
Title="Gatcha">
<Page.Resources>
<ControlTemplate x:Key="NoMouseOverButtonTemplate"
TargetType="Button">
<Border Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsEnabled"
Value="False">
<Setter Property="Background"
Value="{x:Static SystemColors.ControlLightBrush}" />
<Setter Property="Foreground"
Value="{x:Static SystemColors.GrayTextBrush}" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Page.Resources>
<Grid>
<Grid.Background>
<ImageBrush ImageSource="/Backgrounds/gatchabg.png"/>
</Grid.Background>
<Button Template="{StaticResource NoMouseOverButtonTemplate}" Background="Transparent" BorderBrush="Transparent" HorizontalAlignment="Left" Height="165" Margin="642,642,0,0" VerticalAlignment="Top" Width="628" Click="Button_Click"/>
<Button Template="{StaticResource NoMouseOverButtonTemplate}" Background="Transparent" BorderBrush="Transparent" HorizontalAlignment="Left" Height="165" Margin="1434,37,0,0" VerticalAlignment="Top" Width="166" Click="HomeButton_Click"/>
</Grid>
</Page>