Files
2026-11-24 23:40:08 +03:00

19 lines
412 B
C#

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;
}
}