Permalink
Browse files

Stripping it down to focus on what it could be

  • Loading branch information...
rmaclean committed Sep 5, 2014
1 parent 965c674 commit 7144db65df84457ba7ec58d4bf2e8b9a4cd2a8a7
@@ -1,23 +0,0 @@
namespace HSA.converters
{
using System;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Media;
public class BoolToBrush : IValueConverter
{
public SolidColorBrush FalseBrush { get; set; }
public SolidColorBrush TrueBrush { get; set; }
public object Convert(object value, Type targetType, object parameter, string language)
{
return (bool)value ? TrueBrush : FalseBrush;
}
public object ConvertBack(object value, Type targetType, object parameter, string language)
{
throw new System.NotImplementedException();
}
}
}
@@ -109,14 +109,12 @@
</SDKReference>
</ItemGroup>
<ItemGroup>
<Compile Include="BoolToBrush.cs" />
<Compile Include="BoolToVisibility.cs" />
<Compile Include="MainPage.xaml.cs">
<DependentUpon>MainPage.xaml</DependentUpon>
</Compile>
<Compile Include="PageLayout.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="TextButton.cs" />
</ItemGroup>
<ItemGroup>
<AppxManifest Include="Package.appxmanifest">
@@ -2,8 +2,8 @@
<controls:PageLayout Title="HEATHER SPEED APP" SubTitle="designed to crash">
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
<Button x:Name="RunButton" Background="{StaticResource PrimaryRedColourBrush}" Click="Button_Click" Content="RUN!" FontSize="{StaticResource HugeFontSize}" />
<TextBlock x:Name="RunCounter" FontSize="{StaticResource HugeFontSize}" Foreground="{StaticResource PrimaryRedColourBrush}" />
<Button x:Name="RunButton" Click="Button_Click" Content="RUN!" FontSize="50" />
<TextBlock x:Name="RunCounter" FontSize="50" />
</StackPanel>
</controls:PageLayout>
</Page>
Oops, something went wrong.

0 comments on commit 7144db6

Please sign in to comment.