From dafa97333cb5950c87fb7be10a39bf2e917da923 Mon Sep 17 00:00:00 2001 From: RedShirtMB Mark Linton redshirt linton Date: Sat, 4 Aug 2012 19:21:38 -0700 Subject: Moved splashscreen to MediaBrowser.Common and adjusted properties. --- MediaBrowser.ServerApplication/MainWindow.xaml.cs | 3 ++- .../MediaBrowser.ServerApplication.csproj | 7 ------ MediaBrowser.ServerApplication/SplashScreen.xaml | 8 ------ .../SplashScreen.xaml.cs | 29 ---------------------- 4 files changed, 2 insertions(+), 45 deletions(-) delete mode 100644 MediaBrowser.ServerApplication/SplashScreen.xaml delete mode 100644 MediaBrowser.ServerApplication/SplashScreen.xaml.cs (limited to 'MediaBrowser.ServerApplication') diff --git a/MediaBrowser.ServerApplication/MainWindow.xaml.cs b/MediaBrowser.ServerApplication/MainWindow.xaml.cs index 7b6932848..ee473bbc0 100644 --- a/MediaBrowser.ServerApplication/MainWindow.xaml.cs +++ b/MediaBrowser.ServerApplication/MainWindow.xaml.cs @@ -13,6 +13,7 @@ using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; +using MediaBrowser.Common; using MediaBrowser.Controller; using MediaBrowser.Model.Progress; @@ -32,7 +33,7 @@ namespace MediaBrowser.ServerApplication private void LoadKernel() { Progress progress = new Progress(); - SplashScreen splash = new SplashScreen(progress); + Common.UI.Splash splash = new Common.UI.Splash(progress); try { diff --git a/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj b/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj index 355a421c4..cb98583e2 100644 --- a/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj +++ b/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj @@ -56,9 +56,6 @@ MSBuild:Compile Designer - - SplashScreen.xaml - MSBuild:Compile Designer @@ -71,10 +68,6 @@ MainWindow.xaml Code - - Designer - MSBuild:Compile - diff --git a/MediaBrowser.ServerApplication/SplashScreen.xaml b/MediaBrowser.ServerApplication/SplashScreen.xaml deleted file mode 100644 index c5dcbab61..000000000 --- a/MediaBrowser.ServerApplication/SplashScreen.xaml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - diff --git a/MediaBrowser.ServerApplication/SplashScreen.xaml.cs b/MediaBrowser.ServerApplication/SplashScreen.xaml.cs deleted file mode 100644 index 03bfb8eab..000000000 --- a/MediaBrowser.ServerApplication/SplashScreen.xaml.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Shapes; - -using MediaBrowser.Model.Progress; - -namespace MediaBrowser.ServerApplication -{ - /// - /// Interaction logic for SplashScreen.xaml - /// - public partial class SplashScreen : Window - { - public SplashScreen(IProgress progress) - { - InitializeComponent(); - } - } -} -- cgit v1.2.3