123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Friend
- {
- public partial class UI_FriendAddUI
- {
- public GComponent target;
- public Controller m_c1;
- public GTextField m_txtName;
- public GButton m_btnTabSearch;
- public GButton m_btnTabApply;
- public GTextInput m_txtSearch;
- public GButton m_btnClear;
- public GButton m_btnSearch;
- public GTextField m_txtTips;
- public GButton m_btnRefresh;
- public GList m_listSearch;
- public GGroup m_grpSearch;
- public GList m_listApply;
- public GButton m_btnRefuseAll;
- public GButton m_btnAgreeAll;
- public GGroup m_grpApply;
- public const string URL = "ui://wez2ujnnjdju2";
- public const string PACKAGE_NAME = "Friend";
- public const string RES_NAME = "FriendAddUI";
- private static UI_FriendAddUI _proxy;
- public static UI_FriendAddUI Create(GObject gObject = null)
- {
- var ui = new UI_FriendAddUI();
- if(gObject == null)
- ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
- else
- ui.target = (GComponent)gObject;
- ui.Init(ui.target);
- return ui;
- }
- public static UI_FriendAddUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_FriendAddUI();
- }
- var ui = _proxy;
- if(gObject == null)
- ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
- else
- ui.target = (GComponent)gObject;
- ui.Init(ui.target);
- return ui;
- }
- public static void ProxyEnd()
- {
- if (_proxy != null)
- {
- _proxy.Dispose();
- }
- }
- public static void ClearProxy()
- {
- ProxyEnd();
- _proxy = null;
- }
- private void Init(GComponent comp)
- {
- m_c1 = comp.GetController("c1");
- m_txtName = (GTextField)comp.GetChild("txtName");
- m_btnTabSearch = (GButton)comp.GetChild("btnTabSearch");
- m_btnTabApply = (GButton)comp.GetChild("btnTabApply");
- m_txtSearch = (GTextInput)comp.GetChild("txtSearch");
- m_btnClear = (GButton)comp.GetChild("btnClear");
- m_btnSearch = (GButton)comp.GetChild("btnSearch");
- m_txtTips = (GTextField)comp.GetChild("txtTips");
- m_btnRefresh = (GButton)comp.GetChild("btnRefresh");
- m_listSearch = (GList)comp.GetChild("listSearch");
- m_grpSearch = (GGroup)comp.GetChild("grpSearch");
- m_listApply = (GList)comp.GetChild("listApply");
- m_btnRefuseAll = (GButton)comp.GetChild("btnRefuseAll");
- m_btnAgreeAll = (GButton)comp.GetChild("btnAgreeAll");
- m_grpApply = (GGroup)comp.GetChild("grpApply");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_txtName = null;
- m_btnTabSearch = null;
- m_btnTabApply = null;
- m_txtSearch = null;
- m_btnClear = null;
- m_btnSearch = null;
- m_txtTips = null;
- m_btnRefresh = null;
- m_listSearch = null;
- m_grpSearch = null;
- m_listApply = null;
- m_btnRefuseAll = null;
- m_btnAgreeAll = null;
- m_grpApply = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|