引入 UISerializationRoot 和 Item

- 完成 MenuForm 和 SelectRoleForm 的迁移
This commit is contained in:
2026-09-13 22:18:29 +08:00
parent e2fdb660ab
commit 091a29db63
101 changed files with 5281 additions and 5753 deletions
@@ -38,7 +38,7 @@ namespace SepCore.UI
if (userData is not DialogContext context)
{
Log.Warning("DialogContext is invalid.");
Log.Error("DialogForm requires DialogContext as userData.");
return;
}
@@ -47,12 +47,6 @@ namespace SepCore.UI
public void RefreshUI(DialogContext context)
{
if (context == null)
{
Log.Warning("DialogContext is invalid.");
return;
}
_dialogMode = context.Mode;
RefreshDialogMode();