mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 14:29:25 +00:00
17 lines
No EOL
464 B
C#
17 lines
No EOL
464 B
C#
using System.Reflection;
|
|
|
|
namespace NAK.ASTExtension.Integrations;
|
|
|
|
public static partial class BtkUiAddon
|
|
{
|
|
#region Icon Utils
|
|
|
|
private static Stream GetIconStream(string iconName)
|
|
{
|
|
Assembly assembly = Assembly.GetExecutingAssembly();
|
|
string assemblyName = assembly.GetName().Name;
|
|
return assembly.GetManifestResourceStream($"{assemblyName}.Resources.{iconName}");
|
|
}
|
|
|
|
#endregion Icon Utils
|
|
} |