相关UILUOJI

This commit is contained in:
xmac
2025-05-22 22:49:32 +08:00
parent 10de589722
commit 2ca8eac832
27 changed files with 172 additions and 35 deletions

View File

@@ -8,13 +8,17 @@ using System.Collections.Generic;
namespace NBF
{
/// <summary> </summary>
public partial class FishingShop
public partial class FishingShopPanel
{
public GObject this[string aKey] => ContentPane.GetChild(aKey);
[AutoFind(Name = "Banner")]
public GLabel Banner;
[AutoFind(Name = "BtnClose")]
public GButton BtnClose;
[AutoFind(Name = "back")]
public GImage back;
[AutoFind(Name = "Menu")]
public CommonMenu Menu;
[AutoFind(Name = "divisionLine")]
public GImage divisionLine;
[AutoFind(Name = "List")]
public GList List;
public override string[] GetDependPackages(){ return new string[] {"Common"}; }

View File

@@ -7,10 +7,10 @@ using UIPanel = NBC.UIPanel;
namespace NBF
{
public partial class FishingShop : UIPanel
public partial class FishingShopPanel : UIPanel
{
public override string UIPackName => "Shop";
public override string UIResName => "FishingShop";
public override string UIResName => "FishingShopPanel";
protected override void OnInit()
{
@@ -25,10 +25,10 @@ namespace NBF
private void OnClick(GComponent btn)
{
if (btn == BtnClose)
{
Hide();
}
// if (btn == BtnClose)
// {
// Hide();
// }
}
protected override void OnHide()