* 更新UIMessageTip

This commit is contained in:
Sunny 2021-01-10 00:03:08 +08:00
parent 169215f525
commit 887614e8c3
5 changed files with 6 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1004,8 +1004,13 @@ namespace Sunny.UI
{
if (_hInstance == IntPtr.Zero)
{
_hInstance = Marshal.GetHINSTANCE(Assembly.GetEntryAssembly()?.ManifestModule);
Assembly assembly = Assembly.GetEntryAssembly();
if (assembly != null)
{
_hInstance = Marshal.GetHINSTANCE(assembly.ManifestModule);
}
}
return _hInstance;
}
}