upload
This commit is contained in:
commit
1c7a8cf25f
579 files changed
+83196
No files matched your search
@@ -0,0 +1,18 @@
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
|
||||
namespace VibranceHud;
|
||||
|
||||
public static class AppIcon
|
||||
{
|
||||
private static Icon? _icon;
|
||||
|
||||
public static Icon Value => _icon ?? (_icon = Load());
|
||||
|
||||
private static Icon Load()
|
||||
{
|
||||
using Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("PlexusX.ico");
|
||||
return (stream != null) ? new Icon(stream) : SystemIcons.Application;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user