NBC修改

This commit is contained in:
bob
2025-07-03 14:16:18 +08:00
parent 4febfadd56
commit 800e96aac7
2083 changed files with 60081 additions and 2942 deletions

View File

@@ -11,6 +11,9 @@ namespace NBF
public partial class HomePanel
{
public GObject this[string aKey] => ContentPane.GetChild(aKey);
public override string UIPackName => "Main";
public override string UIResName => "HomePanel";
[AutoFind(Name = "Back")]
public GLabel Back;
[AutoFind(Name = "Pages")]
@@ -19,6 +22,11 @@ namespace NBF
public CommonMenu Menu;
public override string[] GetDependPackages(){ return new string[] {"Common"}; }
public static void Show(object param = null){ App.UI.OpenUI<HomePanel>(param); }
public static void Hide(){ App.UI.HideUI<HomePanel>(); }
public static void Del(){ App.UI.DestroyUI<HomePanel>(); }
}
}