* 更新UIMessageTip
This commit is contained in:
parent
169215f525
commit
887614e8c3
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user