|
@@ -8,14 +8,15 @@ namespace UI.Friend
|
|
|
{
|
|
|
public GComponent target;
|
|
|
public GLoader m_loaBg;
|
|
|
- public GButton m_btnBack;
|
|
|
public GTextField m_txtCount;
|
|
|
public GButton m_btnInfo;
|
|
|
public GButton m_btnDelete;
|
|
|
public GButton m_btnAdd;
|
|
|
public GList m_list;
|
|
|
- public GButton m_btnSendAll;
|
|
|
+ public GButton m_btnSendAll2;
|
|
|
public GTextField m_txtPowerCount;
|
|
|
+ public GButton m_btnBack;
|
|
|
+ public GButton m_btnSendAll;
|
|
|
public const string URL = "ui://wez2ujnnjdju0";
|
|
|
public const string PACKAGE_NAME = "Friend";
|
|
|
public const string RES_NAME = "FriendUI";
|
|
@@ -64,26 +65,28 @@ namespace UI.Friend
|
|
|
private void Init(GComponent comp)
|
|
|
{
|
|
|
m_loaBg = (GLoader)comp.GetChild("loaBg");
|
|
|
- m_btnBack = (GButton)comp.GetChild("btnBack");
|
|
|
m_txtCount = (GTextField)comp.GetChild("txtCount");
|
|
|
m_btnInfo = (GButton)comp.GetChild("btnInfo");
|
|
|
m_btnDelete = (GButton)comp.GetChild("btnDelete");
|
|
|
m_btnAdd = (GButton)comp.GetChild("btnAdd");
|
|
|
m_list = (GList)comp.GetChild("list");
|
|
|
- m_btnSendAll = (GButton)comp.GetChild("btnSendAll");
|
|
|
+ m_btnSendAll2 = (GButton)comp.GetChild("btnSendAll2");
|
|
|
m_txtPowerCount = (GTextField)comp.GetChild("txtPowerCount");
|
|
|
+ m_btnBack = (GButton)comp.GetChild("btnBack");
|
|
|
+ m_btnSendAll = (GButton)comp.GetChild("btnSendAll");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
|
m_loaBg = null;
|
|
|
- m_btnBack = null;
|
|
|
m_txtCount = null;
|
|
|
m_btnInfo = null;
|
|
|
m_btnDelete = null;
|
|
|
m_btnAdd = null;
|
|
|
m_list = null;
|
|
|
- m_btnSendAll = null;
|
|
|
+ m_btnSendAll2 = null;
|
|
|
m_txtPowerCount = null;
|
|
|
+ m_btnBack = null;
|
|
|
+ m_btnSendAll = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|