aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/UI/Splash.xaml
diff options
context:
space:
mode:
authorLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-08-25 13:05:41 -0400
committerLukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com>2012-08-25 13:05:41 -0400
commitfc6b2a7f54e9f20641ad9948036ae4d6cc87f926 (patch)
tree1bda86a8294b36cf8dc7707c374c3145d48d118f /MediaBrowser.Common/UI/Splash.xaml
parent37dd0c8bdde20ce83e95a638f913dbfd7ae41f85 (diff)
Added MahApps.Metro
Diffstat (limited to 'MediaBrowser.Common/UI/Splash.xaml')
-rw-r--r--MediaBrowser.Common/UI/Splash.xaml16
1 files changed, 12 insertions, 4 deletions
diff --git a/MediaBrowser.Common/UI/Splash.xaml b/MediaBrowser.Common/UI/Splash.xaml
index b02863f41b..8bb6d0acad 100644
--- a/MediaBrowser.Common/UI/Splash.xaml
+++ b/MediaBrowser.Common/UI/Splash.xaml
@@ -1,11 +1,19 @@
-<Window x:Class="MediaBrowser.Common.UI.Splash"
+<Controls:MetroWindow x:Class="MediaBrowser.Common.UI.Splash"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- Title="MediaBrowser" Height="346" Width="600" ShowInTaskbar="True" ResizeMode="NoResize" WindowStartupLocation="CenterScreen"
- WindowState="Normal" WindowStyle="SingleBorderWindow" Background="Black" Loaded="Splash_Loaded">
+ xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
+ Title="MediaBrowser"
+ Height="346"
+ Width="600"
+ ShowInTaskbar="True"
+ ResizeMode="NoResize"
+ WindowStartupLocation="CenterScreen"
+ WindowState="Normal"
+ Background="Black">
+
<Grid Name="splashGrid">
<Image HorizontalAlignment="Left" VerticalAlignment="Top" Height="225" Source="/MediaBrowser.Common;component/Resources/mblogo1000.png" Stretch="Fill" Grid.Row="0"/>
<ProgressBar Name="pbProgress" Minimum="0" Maximum="100" HorizontalAlignment="Left" Height="24" Margin="30,150,30,0" Width="540" Grid.Row="1"/>
<Label Name="lblProgress" Content="Label" Margin="0,240,10,0" VerticalContentAlignment="Center" HorizontalAlignment="Center" Foreground="White" Grid.Row="2"/>
</Grid>
-</Window>
+</Controls:MetroWindow>