增加提示信息

This commit is contained in:
ww-rm
2025-03-13 14:22:46 +08:00
parent b37e5c25c3
commit a58566735f

View File

@@ -69,6 +69,9 @@ namespace SpineViewer.Controls
{
Program.Logger.Error(ex.ToString());
Program.Logger.Error("Failed to load {} {}", dialog.SkelPath, dialog.AtlasPath);
if (ex is NotImplementedException)
MessageBox.Show($"{dialog.Version.String()} 版本尚未实现(咕咕咕~", "错误信息", MessageBoxButtons.OK, MessageBoxIcon.Information);
else
MessageBox.Show(ex.ToString(), "骨骼加载失败", MessageBoxButtons.OK, MessageBoxIcon.Error);
}