|
|
|
@ -1,9 +1,13 @@
|
|
|
|
|
using System;
|
|
|
|
|
using System.IO;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.Windows;
|
|
|
|
|
using System.Windows.Controls;
|
|
|
|
|
using System.Windows.Media.Imaging;
|
|
|
|
|
using MediaBrowser.Common.Kernel;
|
|
|
|
|
using MediaBrowser.Common.Logging;
|
|
|
|
|
using MediaBrowser.Model.Progress;
|
|
|
|
|
using System.Reflection;
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Common.UI
|
|
|
|
|
{
|
|
|
|
@ -67,5 +71,18 @@ namespace MediaBrowser.Common.UI
|
|
|
|
|
|
|
|
|
|
Kernel.Dispose();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public BitmapImage GetLogoImage()
|
|
|
|
|
{
|
|
|
|
|
BitmapImage bitmap = new BitmapImage();
|
|
|
|
|
|
|
|
|
|
bitmap.CacheOption = BitmapCacheOption.Default;
|
|
|
|
|
|
|
|
|
|
bitmap.BeginInit();
|
|
|
|
|
bitmap.StreamSource = Assembly.GetExecutingAssembly().GetManifestResourceStream("MediaBrowser.Common.Resources.mblogo.png");
|
|
|
|
|
bitmap.EndInit();
|
|
|
|
|
|
|
|
|
|
return bitmap;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|